Hi everyone,
I am trying to connect to Microsoft Graph API from server side program via Auth0 API.
I referred Auth0 document below and can get an access token but can not refresh token.
https://auth0.com/docs/tokens/concepts/idp-access-tokens#renew-tokens
API, /api/v2/user/{user-id} endpoint ,will return identities
array but it don’t have refresh token data like below.
Any ideas or advice are welcome.
Thank you
{
"created_at": "2020-04-22T01:37:40.559Z",
"email": "myemail@example.com",
"email_verified": true,
"identities": [
{
"provider": "waad",
"access_token": "eyJ...snipped...7bg",
"expires_in": 3599,
"user_id": "z4L...snipped...F3M",
"connection": "azureAD",
"isSocial": false
}
],
"identity_api": "microsoft-identity-platform-v2.0",
"name": "MY NAME",
"nickname": "MY NICK NAME",
"oid": "ce48...snipped...6551",
"picture": "https://s.gravatar.com/avatar/2da8...snipped...?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fdefault.png",
"tenantid": "32ea...snipped...093c1",
"updated_at": "2020-04-22T01:38:42.682Z",
"user_id": "waad|z4LA...snipped...6F3M",
"last_ip": "113.43.xx.xx",
"last_login": "2020-04-22T01:38:42.682Z",
"logins_count": 2
}