Authgear
Home
Get Started
Search…
Authgear Docs
Get Started
Choose your authentication approach
Web SDK
React Native SDK
Flutter SDK
Xamarin SDK
Android SDK
iOS SDK
Backend Integration
Strategies
User, Identity and Authenticator
Social & Enterprise Identity Providers
Connect Apps to Apple
Connect Apps to Google
Connect Apps to Facebook
Connect Apps to GitHub
Connect Apps to LinkedIn
Connect Apps to Azure Active Directory
Connect Apps to Microsoft AD FS
Connect Apps to Azure AD B2C
Connect Apps to WeChat
Biometric login
Anonymous Users
Integrate
Using SDK to call your application server
User Settings
User Profile
Reauthentication
How Authgear integrate with your applications
Single Sign-on on mobile devices
Force authentication on app launch
Account Deletion
Customize
Privacy Policy & Terms of Service Links
Branding in Auth UI
Custom domain
Custom Email Provider
Customer Support Link
Localization & UI Text
APIs
API for Client Applications (OIDC 2.0)
Admin APIs
Webhooks
Webhooks
Client App SDKs
Javascript SDK Reference
iOS SDK Reference
Android SDK Reference
Flutter SDK Reference
Xamarin SDK Reference
Deploy on your Cloud
Running locally with Docker
Deploy with Helm chart
Authenticating HTTP request with Nginx
Configurations
Security Concerns
Non-HTTP scheme redirect URI
tutorials
Single-Page App
Local Development Setup
Powered By
GitBook
Connect Apps to Azure AD B2C
Prerequisite
1.
Sign in
Microsoft Azure
.
2.
Create a B2C tenant by following
this tutorial
.
3.
Enable self-service sign-up for the tenant by following
this doc
​
4.
Go back the main page of
Microsoft Azure
and search for "Azure AD B2C"
5.
Create a app registration for Authgear by following
this guide
.
6.
Configure "Redirect URI" with
https://<YOUR_AUTHGEAR_ENDPOINT>/sso/oauth2/callback/azureadb2c
.
7.
Follow
this guide
to create a sign-up and sign-in user flow.
8.
After creating the user flow, configure it
Open "Application Claims".
Make sure "Email Addresses" is checked.
Configure Sign in with Azure AD B2c through the portal
If you have finished the above prerequisite, you should have the following information:
1.
The tenant name, obtained in Step 2
2.
The application (client) ID, obtained in Step 5
3.
The policy (user flow) name, obtained in Step 7
Then in Authgear portal, go to "Single-Sign On" page, and do the following:
1.
Enable "Sign in with Microsoft Azure AD B2C".
2.
Fill in "Client ID" with the application (client) ID above.
3.
Fill in "Client secret" with the client secret you get when you create the app registration.
4.
Fill in "Tenant" with the Azure AD B2C tenant name.
5.
Fill in "Policy" with the policy (user flow) name. It starts with
b2c_1_
.
6.
Save
the changes
🎉 Done! You have just added Azure AD B2C Login to your apps!
Previous
Connect Apps to Microsoft AD FS
Next
Connect Apps to WeChat
Last modified
2mo ago
Copy link
Contents
Prerequisite
Configure Sign in with Azure AD B2c through the portal