I have seen this option on a XenForo community and a handful of other websites. Would it be possible to integrate this into Discourse core?
If Iâm not mistaken, sign in with Microsoft works as oauth2 and that can already be integrated with discourse.
See: OAuth2 Basic Support
I am not sure what âmicrosoftâ means, but it may mean this: Microsoft 365 OAuth2 Plugin.
Microsoft means Microsoft accounts
Hmm. I feel like the further this topic goes the less I know.
For my migration/import clients that have something that looks like outlook in the MX record for their email domain name, Iâve been using the Microsoft265 plugin. I canât quite remember who they are/were right now to look again.
Actually, Iâd suggest the first port of call should be this:
in combination with this existing plugin:
You will note the reference to Azure AD et al at the bottom of the OP on that Plugin Topic.
Thereâs should be no need to deal with any of their client libraries, just use HTTP with the plugin above?
Yeah it is super confusing, not least because they keep renaming things!
I think that âMicrosoft Identity Platformâ, âAzure ADâ, âLogin with Office365â, âMicrosoft 365 Loginâ are all the same. They all use the same oauth2 authorization endpoints https://login.microsoftonline.com/{tenant}/oauth2/v2.0/authorize
When using Microsoftâs identity platform, you choose a âtenantâ. For the plugin, that tenant is hard-coded to common
.
Allows users with both personal Microsoft accounts and work/school accounts from Azure AD to sign into the application.
The instructions which @merefield linked in the OpenID connect plugin topic are useful if you want to use your own tenant. Thatâs common for corporate entities that only want their own users to be able to log in. Less common for public online forums.
So, @Opetron, if you want something like the Tomâs Hardware site, you can use
It was already on my todo list to rename the plugin to âMicrosoft 365 Loginâ, so I guess Iâll cross that out and put âMicrosoft Identity Platformâ instead
Yes! The âMicrosoftâ button in the original post has nothing to do with Microsoft 365. I can just use my regular Microsoft account and it works just fine.
Tell me about it. I originally thought that it was specifically for Microsoft 365 users, so I assumed that their was not a version for regular Microsoft accounts.
If everything goes to plan, there should be a âMicrosoftâ button on the log in/sign up page, correct?
Iâm surprised that it isnât integrated into this forum. Such a button would be extremely handy for Windows users, assuming you can use Windows Hello.
Honestly, âSign in with Microsoftâ sounds much better to me.
Is the plugin integrated into core? Id be surprised if it wasnât, unlike the other buttons.
Itâs not part of core - if a forum administrator wants to add the button, theyâll need to install the plugin.
I know, but is there a reason why?
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.