
KAMALESHC.23854 (Customer) asked a question.
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",
}
}

Hello @KAMALESHC.23854 (Customer) ,
Feel free to post this question on our Okta Developer Forums: https://devforum.okta.com, and they should be able to help you with this.
Thanks!
Tim
Okta, Inc.
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)