Document a full list of the opaque AAD error codes for OAuth dance failure
The simple OAuth codes are documented here:
...however, there is no single resource which lists all the possible error codes given in the error description such as AADSTS65005 & AADSTS65004
Such a resource would allow developers to handle OAuth dance failures in an elegant manner and give end users a better UX.
Some background on this question:
I've started a list of error codes here:
Feel free to add to these in the comments :)
We’re working on an improved error controller that includes suggested remediations for errors. However, your client app should never change behavior based on specific error codes – these are internal and subject to change at any time.
Matt Stankiewicz commented
Looks like you might be looking for this: