<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z000099PDSzCAOOkta Classic EngineAuthenticationAnswered2023-05-02T15:16:39.000Z2023-05-02T14:54:34.000Z2023-05-02T15:16:39.000Z

SAML IdP SSO set default custom scopes for token endpoint

I have a SAML IdP setup and an application with custom scopes and claims. After a user authenticates through our SAML IdP, is there a way I can set the default scopes that are returned by the /token endpoint? Currently OIDC default scopes of offline_access, profile, email, and openid are returned.


  • NiallM.34104 (Atlas Identity)

    Hi Eli. The scopes that your app receives are dependent on the scopes the application requests when hitting the /authorization endpoint. If you control the application, then changing the scopes requested at the application side should see you get the correct scopes returned in your id_token from your /token endpoint request.

     

    If you haven't seen it before, then this is a very useful tool to play around with the scopes.

    OpenID Connect debugger

    Expand Post
This question is closed.
Loading
SAML IdP SSO set default custom scopes for token endpoint
Okta Support Agent (Beta)

Terms of Service

Hello! I'm the Okta Support Agent (Beta), your go-to resource for questions about Okta products. Please remember for your security and privacy, do not share any Personally Identifiable Information (PII) such as passwords, IP addresses, or other details with me.

Okta Privacy Policy and Terms of Service apply