How to validate access token received after micorsoft login?

GH 0 Reputation points
2024-04-30T10:18:26.33+00:00

We are using Active Directory SAML SSO.
We are getting the token as a response with the following json response

{"token_type": "Bearer", "scope": "openid profile User.Read email", "expires_in": 3774, "ext_expires_in": 3774, "access_token": "", "refresh_token": "", "refresh_token_expires_in": 86399, "id_token": "", "client_info": ""}

But we are not sure how to validate this access token.

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,001 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Karlie Weng 15,186 Reputation points Microsoft Vendor
    2024-05-07T01:18:26.71+00:00

    Hello,

    You may follow this link to request a bearer token:

    RFC 7662 - OAuth 2.0 Token Introspection (ietf.org)

    However, in your response, the access token is null.


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments