login microsoft loop reprocess "oauth" 2.0 code example
Example: login microsoft loop reprocess "oauth" 2.0
In azure ad 1.0 ,we could add microsoft account as external user in tenant , when we use microsoft account login with common in a multi-tenant environment , identity provider can't know which tenant you want that microsoft account to login . To fix that issue , you could use specific tenant :
https://login.microsoftonline.com/YourTenant/oauth2/authorize?client_id=xxxxxx&response_type=code&redirect_uri=http%3A%2F%2Flocalhost%3A16468%2F&scope=openid
Or use Azure AD V2.0 :https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-appmodel-v2-overview