Skip to content

fix: update Azure B2C base URL to allow custom domains #1013

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 5, 2025

Conversation

Danyal-Faheem
Copy link
Contributor

fixes #809.

The Authority Host can be defined to be a custom domain as well using front door in Azure. With this, the tenant name is not prefixed to the authority host in the base url.

We update this by prefixing the tenant name with the default authority host only if the authority host is not defined.

fixes python-social-auth#809.

The Authority Host can be defined to be a custom domain as well using front door in Azure. With this, the tenant name is not prefixed to the authority host in the base url.

We update this by prefixing the tenant name with the default authority host only if the authority host is not defined.
Copy link

codecov bot commented Feb 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.99%. Comparing base (326d4b3) to head (6b63935).
Report is 71 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1013      +/-   ##
==========================================
+ Coverage   77.88%   77.99%   +0.10%     
==========================================
  Files         347      347              
  Lines       10669    10688      +19     
  Branches      504      454      -50     
==========================================
+ Hits         8310     8336      +26     
+ Misses       2200     2192       -8     
- Partials      159      160       +1     
Flag Coverage Δ
unittests 77.99% <100.00%> (+0.10%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nijel nijel merged commit f0d45b7 into python-social-auth:master Feb 5, 2025
12 checks passed
@nijel
Copy link
Member

nijel commented Feb 5, 2025

Merged, thanks for your contribution!

@nijel nijel self-assigned this Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect base url for azuread b2c backend
2 participants