<#5712 OIDC config to allow mismatched discovery /...
# flyte-github
c
#5712 OIDC config to allow mismatched discovery / issuer Pull request opened by ddl-ebrown ## Tracking issue ## Why are the changes needed? • There are a number of cases where the OIDC discovery url returns one issuer, but its desirable to use a separately configured / named issuer for validation instead. There are cases in Azure where this is necessary due to their non-standard OIDC configuration -- which is why this was originally added: coreos/go-oidc#315 There are also cases where it's necessary to use an in-cluster service address, but browser clients are using the external ingress address. Due to cluster DNS configuration, it's possible that flyteadmin may be unable to resolve or use the public ingress address for an Idp, but the internal service address is available. This configuration change allows for that. • Regenerated flyteadmin code through mise with:
mise x go@1.22 -- make generate
## What changes were proposed in this pull request? ## How was this patch tested? ### Setup process ### Screenshots ## Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. ## Related PRs ## Docs link ### Summary by Bito This PR enhances Flyteadmin OIDC configuration by allowing separate issuer URLs for token validation. The changes update authentication context, configuration settings, and command flags to support issuer discrepancies. These updates address challenges with mismatched discovery URLs in environments like Azure or when using internal service addresses. Unit tests added: True Estimated effort to review (1-5, lower is better): 1 flyteorg/flyte