Microsoft Graph¶
Backend class¶
For Django, add this class path to AUTHENTICATION_BACKENDS. For other
integrations, use the same class path in the framework-specific backend
setting.
Backend name |
Class path |
|---|---|
|
|
Go to Azure portal and create an application.
Fill App Id and Secret in your project settings:
SOCIAL_AUTH_MICROSOFT_GRAPH_KEY = '...' SOCIAL_AUTH_MICROSOFT_GRAPH_SECRET = '...'
Enable the backend:
SOCIAL_AUTH_AUTHENTICATION_BACKENDS = ( ... 'social_core.backends.microsoft.MicrosoftOAuth2', ... )
Register an application with the Microsoft identity platform.