<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
0D54z00007fUlkLCASOkta Classic EngineAuthenticationAnswered2022-05-20T18:00:43.000Z2022-05-19T20:42:48.000Z2022-05-20T18:00:43.000Z

YiweiM.44026 (Customer) asked a question.

How to retrieve a fat id token using /token endpoint form Okta Org Authorization Server

I am in a situation that I would like to refresh a user id token silently.

As the /authorize endpoint will require a redriection, I decided to use /token endpoint with refresh token

My question is, is that possible for me to retrieve id token alone from /token endpoint and make it a fat id token or I have to use /authorize endpoint to get a fat id token


  • Hello @YiweiM.44026 (Customer)​ Thank you for reaching out to our Community!

     

    At this time you can't get a fat token with Org as, you only get a thin token. The only way to get a fat token is to only request an ID token via Implicit flow (covered in the below doc):

    https://support.okta.com/help/s/article/Okta-Groups-or-Attribute-Missing-from-Id-Token?language=en_US

    Please note: "This behavior is based on the OpenID specifications about scope-dependent claims. See the following quote from section 5.4:

    The Claims requested by the profile, email, address, and phone scope values are returned from the UserInfo Endpoint, as described in Section 5.3.2, when a response_type value is used that results in an Access Token being issued. However, when no Access Token is issued (which is the case for the response_type value id_token), the resulting Claims are returned in the ID Token."

     

    Hope this helps!

    Expand Post
This question is closed.
Loading
How to retrieve a fat id token using /token endpoint form Okta Org Authorization Server