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

makes OIDC issuer dynamic based on xweb bind point address #2489

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

andrewpmartinez
Copy link
Member

This makes each OIDC API exposure use its xweb bind point address as the hostname of the issuer rather than defaulting to the edge.api.address configuration value. The result is that the bind point address will be used in the well-known OIDC configuration.

@andrewpmartinez andrewpmartinez requested review from a team as code owners October 18, 2024 13:58
openzitiClient.loginURL = newLoginResolver(config.Storage)
config.Storage.AddClient(openzitiClient)
for _, issuer := range config.Issuers {
issuerUrl := "https://" + issuer + "/oidc"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this test for HasPrefix https:// to be friendly? or nah?

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