When we are redirecting to Okta login page, we see below error in the browser console:
Unhandled Promise rejection: Issuer URL passed to constructor contains “-admin” in subdomain. Required usage: new OktaAuth({issuer: "https://{yourOktaDomain}.com}) ; Zone: ; Task: Promise.then ; Value: AuthSdkError: Issuer URL passed to constructor contains “-admin” in subdomain. Required usage: new OktaAuth({issuer: "https://{yourOktaDomain}.com})
Hi @makarandgk,
‘Issuer’ URL should be in the form “https://your-okta-domain.com” and not “https://your-okta-domain-admin.com”. Could you check if the issuer your are passing to the Auth sdk is correct ?
1 Like
Thanks, this helped!
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.