okta-auth-js
okta-auth-js copied to clipboard
Unable to get connected to auth server in Okta
Describe the bug?
I am using https://${yourOktaDomain}/oauth2/${customAuthorizationServerId}
under an issuer in my React Okta integration, but however the access token which I am receiving under it seems to still be pointing to the default server. I am using these 3 library to set this up:
"@okta/okta-auth-js": "^4.8.0",
"@okta/okta-react": "^5.1.1",
"@okta/okta-signin-widget": "^5.5.2"
The login integration is working fine, I just can't see the custom claims under the custom server.
What is expected to happen?
To see the custom claims.
What is the actual behavior?
In Okta, normally claims are getting displayed under the access token object but is just showing my default auth server claims.
Reproduction Steps?
As provided above.
SDK Versions
5.5.2
Execution Environment
Node
Additional Information?
No response
Few questions:
- What node version are you using?
- Have you tried upgrading to the latest versions of our SDKs?
- Can you provide a code snippet?