Skip to content

Commit

Permalink
Switch ms-identity-python
Browse files Browse the repository at this point in the history
  • Loading branch information
rayluo committed May 20, 2024
1 parent 497e098 commit 2c5859b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion mysite/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

import os, random, string
from dotenv import load_dotenv
from identity.django import Auth
from ms_identity_python.django import Auth # pip install "ms_identity_python[django] @ git+https://github.com/azure-samples/[email protected]"
load_dotenv()
AUTH = Auth(
os.getenv('CLIENT_ID'),
Expand Down
6 changes: 1 addition & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# Since we currently still supports Python 3.7, we choose Django version accordingly.
# See https://docs.djangoproject.com/en/5.0/faq/install/#what-python-version-can-i-use-with-django
django>=3.2,<6

identity>=0.7,<0.8
ms_identity_python[django] @ git+https://github.com/azure-samples/[email protected]
python-dotenv<0.22
requests>=2,<3

0 comments on commit 2c5859b

Please sign in to comment.