This is the response to the /token call. I've included the details for both the access_token and id_token
{
"token_type": "Bearer",
"expires_in": 3600,
"access_token": "xxx",
"scope": "openid profile email groups",
"id_token": "xxxx"
}
access_token:
HEADER:ALGORITHM & TOKEN TYPE
{
"kid": "ZkvelLN_seik7w4pc_prCcfUf-h2hFfiwkDeCrs0iUc",
"alg": "RS256"
}
PAYLOAD:DATA
{
"ver": 1,
"jti": "AT.MNAoEQ_jbKqoinrQo1D0XKjMX28U5d7ZszBceot7-Ts",
"iss": "
https://xxxx.okta.com",
"aud": "
https://xxxx.okta.com",
"sub": "
x...@xxxxx.com",
"iat": 1688146471,
"exp": 1688150071,
"cid": "client_id",
"uid": "yyyyy",
"scp": [
"openid",
"profile",
"email",
"groups"
],
"auth_time": 1688145909
}
id_token:
HEADER:ALGORITHM & TOKEN TYPE
{
"kid": "fAomAvsWyAWDlnBuJbHoqqCRcRdmsg4vri0OICxbIgs",
"alg": "RS256"
}
PAYLOAD:DATA
{
"sub": "yyyyy",
"name": "xxxx",
"email": "
xx...@xxxxx.com",
"ver": 1,
"iss": "
https://xxx.okta.com",
"aud": "client_id",
"iat": 1688146471,
"exp": 1688150071,
"jti": "ID.radCQMOQUmyvcTBmmIL0J6BaS60apUEiC7-vI7pOmkw",
"amr": [
"pwd"
],
"idp": "yyyyy",
"preferred_username": "
xx...@xxxx.com",
"auth_time": 1688145909,
"at_hash": "fPlsvVszI29LU2UhDyJ9vg"
}