Created
December 3, 2023 21:14
-
-
Save pdr-tuche/4df8bde9343efacfce1917829ec6210b to your computer and use it in GitHub Desktop.
Configuration Azure AD for django
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
{ | |
"type": { | |
"client_type": "CONFIDENTIAL", | |
"authority_type": "SINGLE_TENANT", | |
"framework": "DJANGO" | |
}, | |
"client":{ | |
"client_id": "{enter your client id}", | |
"client_credential": "{enter your client credential}", | |
"authority": "https://login.microsoftonline.com/{enter your tenant id}", | |
}, | |
"auth_request":{ | |
"redirect_uri": null, | |
"scopes":[], | |
"response_type": "code" | |
}, | |
"flask": null, | |
"django":{ | |
"id_web_configs": "MS_ID_WEB_CONFIGS", | |
"auth_endpoints": { | |
"prefix": "auth", | |
"sign_in": "sign_in", | |
"edit_profile": "edit_profile", | |
"redirect": "redirect", | |
"sign_out": "sign_out", | |
"post_sign_out": "post_sign_out", | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
how configure
pip install git+https://github.com/azure-samples/ms-identity-python-utilities@main