Replies: 3 comments 9 replies
-
As I understand it, it should be possible with the existing provider, but it's a horribly confusing topic and not really covered in the existing documentation for the provider. Just how confusing it is came up recently on Twitter: It's a confusing as Microsoft have multiple APIs for sign in - including one that is OpenID Connect and one that is OAuth 2.0 (without OpenID Connect) and they have re-branded the service a few times and there are multiple historical variants that are slightly different. It seems it has been known variously as "Sign in with Microsoft", "Microsoft Passport", "Windows Live", "Live Connect", "Messenger Connect", "Live Services" and a few other names. Most recently it seems they are using the umbrella term "Microsoft identity platform", which can also be used with custom domains using the B2C endpoints. I thin the current incarnation we would want is this: From there I found this guide that explains the options a bit more: When I compare that doc and the existing Asure provider it looks like it's configured with the correct endpoints for either: TL;DR I think they are actually the same thing and you can use the existing provider, it's just confusingly named. The distinction seems actually to be between a value for The default in the provider we ship is 'common', which should work for everyone. We should probably rename the the provider from "Azure Active Directory B2C" to something like "Microsoft identity platform" on the website (and use the name "Microsoft" in the provider so the default button text is "Sign in with Microsoft") and update our docs to reflect that it is actually the same provider for both Microsoft and Active Directory accounts. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@david-benes @juliano988 Can you develop more on what you did ? I am relatively new to NextAuth and I have been struggling with the AzureADB2C provider for the past two weeks. |
Beta Was this translation helpful? Give feedback.
-
Is there support for simple sign in with microsoft directly?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions