We are using Okta React SDK to enable SSO to our APP for our customers using OIDC.
We have customers with different issuer
/clientID
s, and the React-SDK requires us to pass in these values up-front. What should be the issuer URL passed to the okta-react SDK for each customer?
- Org Auth Servicer?
https://${customerOktaOrg}/
- Default Custom Auth server?
https://${customerOktaOrg}/oauth2/default
- Other Custom Auth server?
https://${customerOktaOrg}/oauth2/<server-id>
On 1, we won’t be able to validate tokens locally as public keys are not available for Org Authorization Servers. 2 doesn’t seem to be available for some companies (https://.okta.com/oauth2/default/v1/keys). Finally, If we go with 3, how do we obtain their server-id? Ask each of our customers for server-id
during setup?
Any help is much appreciated, as we are not able to get answers from React-SDK docs.