Microsoft Social Login with Magic
Microsoft Social Login with Magic
Supported Platforms
You can allow your users to sign up & log in to your web app with their Microsoft account.
👉 Play with a demo
#Prerequisites
- You will need a Microsoft Azure account
- You will need to have the Magic SDK installed into your web app
- You will need to have the Magic SDK - OAuth Extension installed into your web app
#Microsoft Setup
After installing the OAuth extension, you can now enable Microsoft Login for your Magic app:
- Go to your Magic Dashboard
- Select the Magic app for which you’d like to enable Microsoft Login, or create a new app
- Navigate to Social Login from the sidebar
- Click the toggle for Microsoft
- Copy the Redirect URI field from your Magic Dashboard
- Follow Microsoft's registration instructions to register your app
- Search and navigate to App registrations section
- Click New registration
- Make sure to select personal Microsoft accounts to allow your users to access your oauth app. Paste redirect link from Magic Dashboard into the Redirect URI
- After register your app, select Certificates & secrets in the sidebar, click New client secret, and obtain the client secret Value
- Navigate back to Overview in the sidebar, obtain the Client ID
- Return to your Magic Dashboard and input the Client ID and Client Secret for your Microsoft OAuth app and click “Save”
- Click "Test Connection" to give your new Microsoft OAuth flow a try! 🎉