mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-10 12:27:44 +00:00
docs: add microsoft callback url (#1316)
This commit is contained in:
@@ -10,6 +10,8 @@ Enabling OAuth with Microsoft Azure Entra ID (formerly Active Directory) allows
|
||||
### Get your Microsoft credentials
|
||||
To use Microsoft as a social provider, you need to get your Microsoft credentials. Which involves generating your own Client ID and Client Secret using your Microsoft Entra ID dashboard account.
|
||||
|
||||
Make sure to set the redirect URL to `http://localhost:3000/api/auth/callback/microsoft` for local development. For production, you should it to the URL of your application. If you change the base path of the auth routes, you should update the redirect URL accordingly.
|
||||
|
||||
see the [Microsoft Entra ID documentation](https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app) for more information.
|
||||
</Step>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user