Skip to content

feat: Add support for custom Auth0 domains#135

Open
bendiknesbo wants to merge 1 commit into
auth0:mainfrom
bendiknesbo:support-custom-domain
Open

feat: Add support for custom Auth0 domains#135
bendiknesbo wants to merge 1 commit into
auth0:mainfrom
bendiknesbo:support-custom-domain

Conversation

@bendiknesbo

@bendiknesbo bendiknesbo commented Jul 24, 2026

Copy link
Copy Markdown

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/ (where region-identifier is optional), but the custom-domains can be anything, like login.travel0.com

References

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.

  • This change adds test coverage for new/changed/fixed functionality

Checklist

  • I have added documentation for new/changed functionality in this PR or in auth0.com/docs
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used, if not the default branch

This PR was pair-programmed by me and @etameem

@bendiknesbo
bendiknesbo requested a review from a team as a code owner July 24, 2026 11:01
@bendiknesbo
bendiknesbo force-pushed the support-custom-domain branch from 3c5c5ee to 3688256 Compare July 24, 2026 11:02
@bendiknesbo
bendiknesbo force-pushed the support-custom-domain branch 3 times, most recently from a6efd83 to 8c2a214 Compare July 24, 2026 11:14
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
bendiknesbo force-pushed the support-custom-domain branch from 8c2a214 to 4efdcc5 Compare July 24, 2026 11:18
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.

1 participant