Skip to main content

Microsoft Authentication (Deprecated)

Duncan from Memberstack
Duncan from Memberstack

Attention Webflow Users

Microsoft requires a special folder and file to verify your domain. Unverified accounts have an ugly "unverified" banner that is displayed to members during signup and login. At this time, Webflow does not allow us or you to add this required file. Please upvote the feature here. All that said, it is possible to work around this via Cloudflare workers

---------------------------------------------

This article will show you how to add a "Continue with Microsoft" button to your signup, login, and profile forms. Part one is a 3-minute video with step-by-step instructions to connect your Memberstack and Microsoft accounts. Part two will show you how to set up the front end.

Part 1: The Backend

Here's a link to Microsoft's Developer Site.

Part 2: The Frontend

sign_in_with_microsoft.jpg

If you are using Memberstack's pre-built sign-up, login, or profile UI, then you're already finished. Enabled social auth providers will automatically appear in the pre-built UI. 

If you'd like to add a social auth button to your Webflow project this section is for you.

Signup & Login Forms

I recommend copying one of our Webflow social auth buttons. They are 100% built in Webflow, already have the attributes you need, and are easy to customize:

Clone some buttons in the Webflow showcase

To create your own from scratch:

  1. Create a link block with the attribute data-ms-auth-provider="microsoft".
  2. Add the Microsoft logo.
  3. Add your button text. We recommend something like "Continue with Microsoft"

That's it for signup and login buttons. Profile buttons have a few additional elements. 

Profile Forms

In this other tutorial, we'll create a UI for members to connect providers, view previously connected providers, and (optionally) disconnect providers. 

Social Auth Buttons in Profile Forms

Was this article helpful?

Didn’t find your answer?

Get an instant answer from Rey, or reach a human. Either way, we’re happy to help.

Comments

7 comments

  • Stefan Raghavan
    Stefan Raghavan

    Hey Duncan, I was able to get the Microsoft login to work, but after authentication, it just redirects me to the homepage of my site. Instead, I'd like it to redirect to the pricing plan page. Any help you could provide here would be much appreciated. 

    1
  • Duncan from Memberstack
    Duncan from Memberstack Author

    Hey Stefan 👋 That's awesome!

    Do you have your default redirects or plan level redirects set already? https://docs.memberstack.com/hc/en-us/articles/7384608370715

    1
  • Stefan Raghavan
    Stefan Raghavan

    Easy! Thank you so much Duncan!

    0
  • Stefan Raghavan
    Stefan Raghavan

    Hey @Duncan Hamra, I have another question related to the process. After users sign in through Microsoft and complete their payment via Stripe, they're directed to the Microsoft store for an Add-in download. Is it possible with Memberstack to store both the Microsoft user ID and Stripe transaction ID in a database for payment verification when logging into the downloaded Excel add-in?

     

     

    0
  • Darwin Stephenson
    Darwin Stephenson

    This help article is no longer current with how Microsoft handles App Creation. 

    0
  • Mervin Tan
    Mervin Tan

    Have you tried using this feature in Webflow?

    https://help.webflow.com/hc/en-us/articles/36293473743123-Upload-a-well-known-file#01JESABDHBZGQCZN74DQ2JTKAQ

    0
  • Duncan from Memberstack
    Duncan from Memberstack Author

    Oooo great question! We have not tried that yet. Adding to our to-do. If you beat us to it, please let me know. 

    cc Chukwudi

    0

Please sign in to leave a comment.

Sitemap