okta-auth-js icon indicating copy to clipboard operation
okta-auth-js copied to clipboard

Unable to get connected to auth server in Okta

Open Montana opened this issue 2 years ago • 1 comments

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

Montana avatar Sep 27 '22 21:09 Montana

Few questions:

  1. What node version are you using?
  2. Have you tried upgrading to the latest versions of our SDKs?
  3. Can you provide a code snippet?

jaredperreault-okta avatar Sep 29 '22 00:09 jaredperreault-okta