Auth0 Home Blog Docs

O365 SSO with Google - Getting AADSTS20001 error


I read the post “Signing into Microsoft Office 365 with Google Apps” at

Having a few trials to tweak the rule, now I come to a point reaching the MS page with error:
“Sign in
Sorry, but we’re having trouble signing you in.
AADSTS20001: Signin response message does not contain an issued token.”

Any insight?


some bugs in the Rules in the post.
for the function assignOffice365License(), should add method:‘POST’ in options, or else it won’t work.

but now there is another problem.