Skip to content
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

Added useCustomAuth0Domain flag #1821

Merged

Conversation

fredhair
Copy link
Contributor

Since Auth0 does not publish it's end_session_url in it's discovery doc special handling is required for logging out.
This special handling of Auth0 logout is not triggered for custom domains since this special handling is determined by whether the authority ends with 'auth0.com'

openid-configuration now contains an optional flag to allow custom domains in auth0 to function as normal.
A small change in the url service checks if the authority ends with auth0.com OR the useCustomAuth0Domain is set.

This is probably quite a niche issue but it has been a real headache for what seems like a simple fix.

(This is my first time ever contributing to any project so apologies in advance if I've missed anything / done anything incorrectly, please do help me to learn I would be very grateful!)

openid-configuration now contains an optional flag to allow
 custom domains in auth0 to function as normal.
 A small change in the url service checks if the authority ends
 with auth0.com OR the useCustomAuth0Domain is set.
@FabianGosebrink
Copy link
Collaborator

Thanks for the PR. It would be nice we would extend also the docs with this change. Then it LGTM.

@fredhair
Copy link
Contributor Author

Thanks for the PR. It would be nice we would extend also the docs with this change. Then it LGTM.

Yes quite agreed, I will take a look at the docs :) thanks for the feedback.

@FabianGosebrink
Copy link
Collaborator

Haha, nothing to thank for. Thank YOU for the PR!

Now includes summary of useCustomAuth0Domain flag
@fredhair
Copy link
Contributor Author

Configuration doc updated to include a brief description of the useCustomAuth0Domain flag!

@FabianGosebrink FabianGosebrink merged commit 390d2c0 into damienbod:main Aug 16, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants