I’m currently not able to get Azure AD working with a common login endpoint.
I’m using the suggested discovery endpoint:
https://login.microsoftonline.com/{tenant}/v2.0/.well-known/openid-configuration
However, this redirects users to my organizational login page, not to the common Azure AD login page that allows using @hotmail.com
and other Microsoft accounts. Note that my provider is configured to allow those accounts, and I’ve been able to use them using the same client using NextAuth, so I think that this does work.
I’m not sure if the solution is to use a different discovery document, or something else? Any help would be appreciated .