-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7ea233b
commit 2f807cf
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -111,6 +111,7 @@ Social backends | |
mediawiki | ||
meetup | ||
mendeley | ||
microsoftgraph | ||
mineid | ||
mixcloud | ||
moves | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Microsoft Graph | ||
=============== | ||
|
||
|
||
1. Go to `Azure portal`_ and create an application. | ||
|
||
2. Fill App Id and Secret in your project settings:: | ||
|
||
SOCIAL_AUTH_MICROSOFT_GRAPH_KEY = '...' | ||
SOCIAL_AUTH_MICROSOFT_GRAPH_SECRET = '...' | ||
|
||
|
||
3. Enable the backend:: | ||
|
||
SOCIAL_AUTH_AUTHENTICATION_BACKENDS = ( | ||
... | ||
'social_core.backends.microsoft.MicrosoftOAuth2', | ||
... | ||
) | ||
|
||
`Register an application with the Microsoft identity platform`_. | ||
|
||
.. _Azure portal: https://portal.azure.com/ | ||
.. _Register an application with the Microsoft identity platform: https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app | ||
|