oauth 2.0 - Azure AD: Authentication missing or malformed -
i using postman query graph api list of applications on instance of aad.
access token url: https://login.microsoftonline.com/common/oauth2/token
with these, i'm able access token. when attempt query graph api list of applications, along access token included in header, following error:
{ "error": { "code": "invalidauthenticationtoken", "message": "access token validation failure.", "innererror": { "request-id": "***-***-***", "date": "2017-07-25t16:21:06" } }
}
is there way resolve this?
edit: found weird when receive access token, not receive refresh token along :|
thanks!
the resource value in auth url not graph api endpoint, access token obtained resource , graph api cannot validate it. graph api endpoint should https://graph.microsoft.com/
refresh tokens not issued oauth grant types such client credentials flow because client can use credentials obtain new token required. may reason don't see refresh token. in flow involves user interaction, refresh token used obtain new token without requiring user interaction.
Comments
Post a Comment