
User16807997294323406837 (Customer) asked a question.
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.

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