Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Add sign in to Microsoft

Latest
Compare
Choose a tag to compare
@jpvanoosten jpvanoosten released this 17 Sep 22:30
· 7 commits to master since this release

This release adds the ability to sign into the Discord User Manager using a Microsoft login.

If you are updating from v1.*, you must upgrade the database in order to add the azureId field to the Users table.:

npm run db:migrate

or, if you are using yarn:

yarn db:migrate

If you need to undo the database migration:

npm run db:migrate:undo

or

yarn db:migrate:undo

In order to use the Microsoft OAuth 2.0 login, add the following variables to your environment:

AZURE_CLIENT_ID
AZURE_CLIENT_SECRET
AZURE_REDIRECT_URI

And set their values to the respective values in the Azure Active Directory web application (see the README for instructions on setting up an Azure AD web application.