feat: Add support for custom Auth0 domains#135
Open
bendiknesbo wants to merge 1 commit into
Open
Conversation
bendiknesbo
force-pushed
the
support-custom-domain
branch
from
July 24, 2026 11:02
3c5c5ee to
3688256
Compare
bendiknesbo
force-pushed
the
support-custom-domain
branch
3 times, most recently
from
July 24, 2026 11:14
a6efd83 to
8c2a214
Compare
This PR adds support for a new environment-variable&prompt for setting an audience that is not based off of the auth0 domain. This allows auth0-checkmate to be run with a custom domain instead of the canonical auth0-domain, since the canonical auth0-domain may be blocked via network ACLs. Co-authored-by: Tameem Ahmed <32715955+etameem@users.noreply.github.com>
bendiknesbo
force-pushed
the
support-custom-domain
branch
from
July 24, 2026 11:18
8c2a214 to
4efdcc5
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds support for a new environment-variable&prompt for setting an audience that is not based off of the auth0 domain. This allows auth0-checkmate to be run with a custom domain instead of the canonical auth0-domain, since the canonical auth0-domain may be blocked via network ACLs. The Auth0 Management API audience is controlled by Auth0, and thus will always be in the format
https://<tenant-name>.<region-identifier>.auth0.com/api/v2/(whereregion-identifieris optional), but the custom-domains can be anything, likelogin.travel0.comReferences
Testing
I have not added tests for the reading of the environment-variables or the prompts during CLI-run, as there are no tests for those files at all today.
Checklist
This PR was pair-programmed by me and @etameem