Skip to content

Support wildcard patterns in server.allowed-issuers - #1657

Closed
s-maling-celonis wants to merge 1 commit into
unitycatalog:mainfrom
s-maling-celonis:feat/wildcard-allowed-issuers-upstream
Closed

s-maling-celonis wants to merge 1 commit into
unitycatalog:mainfrom
s-maling-celonis:feat/wildcard-allowed-issuers-upstream

Conversation

@s-maling-celonis

Copy link
Copy Markdown
Contributor

Summary

  • Add IssuerAllowlist to match server.allowed-issuers entries with * (single DNS label)
  • Use wildcard matching in AuthService token exchange issuer validation
  • Document wildcard usage in docs/server/auth.md

Example: server.allowed-issuers=https://*.dev.example.com accepts tokens from https://dev.dev.example.com, https://backend.dev.example.com, etc.

Test plan

  • IssuerAllowlistTest unit tests (exact, wildcard, mixed patterns)

Made with Cursor

@s-maling-celonis
s-maling-celonis force-pushed the feat/wildcard-allowed-issuers-upstream branch from 20820cd to 1268f8b Compare July 6, 2026 08:38
Allow issuer allowlist entries such as https://*.dev.example.com so UC can
accept tokens from any tenant on a realm without listing each issuer explicitly.

Co-authored-by: Cursor <[email protected]>
Signed-off-by: s-maling-celonis <[email protected]>
@s-maling-celonis

Copy link
Copy Markdown
Contributor Author

Merged into #1661

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