Skip to content

Commit

Permalink
CIAM logout needs authority to contain tenant path
Browse files Browse the repository at this point in the history
  • Loading branch information
rayluo committed Mar 4, 2024
1 parent 696a26b commit 61e3981
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
9 changes: 4 additions & 5 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,13 @@ CLIENT_SECRET=<client secret>
# "https://login.microsoftonline.com/TENANT_GUID"
# or "https://login.microsoftonline.com/subdomain.onmicrosoft.com".
#
# Alternatively, leave it undefined if you are building a multi-tenant AAD app
# in world-wide cloud
#AUTHORITY=<authority url>
# Alternatively, use "https://login.microsoftonline.com/common" for multi-tenant app.
AUTHORITY=<your authority url>
#
#
# 2. If you are using a Microsoft Entra External ID for customers (CIAM) tenant,
# configure AUTHORITY as "https://subdomain.ciamlogin.com"
#AUTHORITY=<authority url>
# configure AUTHORITY as https://subdomain.ciamlogin.com/subdomain.onmicrosoft.com
#AUTHORITY=https://subdomain.ciamlogin.com/subdomain.onmicrosoft.com
#
#
# 3. If you are using a B2C tenant, configure the following variables:
Expand Down
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import app_config

__version__ = "0.7.0" # The version of this sample, for troubleshooting purpose
__version__ = "0.8.0" # The version of this sample, for troubleshooting purpose

app = Flask(__name__)
app.config.from_object(app_config)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ Flask>=2.2
Flask-Session>=0.3.2,<0.6
werkzeug>=2
requests>=2,<3
identity>=0.3,<0.4
identity>=0.5.1,<0.6
python-dotenv<0.22

0 comments on commit 61e3981

Please sign in to comment.