0D51Y00009ze3v2SAAOkta Classic EngineSingle Sign-OnAnswered2020-12-03T14:11:32.000Z2020-11-30T05:45:51.000Z2020-12-03T14:11:32.000Z

KAMALESHC.23854 (Customer) asked a question.

Callback url is not working with # url in angular app

Hi Guys,

 

I have implemented without * url which is working fine but when implement application with * url then it is not working. I think callback url is able to verify the code or something else, I am not sure.

 

I am getting an error "Uncaught (in promise): AuthSdkError: The app should not attempt to call getToken on callback. Authorize flow is already in process. Use parseFromUrl() to receive tokens.

AuthSdkError: The app should not attempt to call getToken on callback. Authorize flow is already in process. Use parseFromUrl() to receive tokens."

 

I could login using okta SSO but after login, the callback code trying to verify where it got failed. If use the application without * then it is working but with * url is not working.

 

{ provide: LocationStrategy, useClass: HashLocationStrategy } is the contain specified in "app.module.ts"

 

{

"oktaConfiguration": {

"baseUrl": "{mydomain}",

"issuer": "{mydomain}/oauth2/default",

"clientId": "{ClientId}",

"redirectUri": "http://localhost:4200/implicit/callback",

}

}


  • KAMALESHC.23854 (Customer)

    I have raised this question in forum and he said "hashtag" url is not supported in okta and asked me create ticket here so that you guys can implement hashtag url for angular from your side. Please ref this ticket(01000607)

This question is closed.

Recommended content

No recommended content found...