frontend: discover OIDC authorization and token endpoints - #8185
frontend: discover OIDC authorization and token endpoints#8185HarryKodden wants to merge 1 commit into
Conversation
|
The GitHub sync failure is not from this change. |
|
@HarryKodden, thanks for the contribution. The GitHub sync failure is expected (and intended), as external contributors don't have access to our auth token. Pleas sign our commit with |
Signed-off-by: Harry Kodden <harry@kodden.nl>
70473bc to
9d78a55
Compare
|
Thanks — Signed-off-by is on the commit now. I understand the GitHub sync failure is expected for fork PRs. |
Summary
dCache View OIDC login no longer requires hand-copied authorization and token URLs. When an issuer is configured, the frontend loads
{issuer}/.well-known/openid-configurationand usesauthorization_endpoint(View login page) andtoken_endpoint(code-flow callback).Explicit
frontend.static!dcache-view.oidc-authz-endpoint-listandfrontend.authn.oidc.token-urlstill win over discovery.Configuration
Single provider:
Several providers: set
frontend.static!dcache-view.oidc-issuer-listin the same order as the name and client-id lists. The code-flow token exchange still uses one token endpoint (frontend.authn.oidc.issuer/frontend.authn.oidc.token-url).Notes
IdentityProvider), including issuers with a path.frontend.propertiesdescribe the new properties.Test plan
OidcDiscoveryTest(URL building, cache, explicit override, missing issuer)frontend.authn.oidc.issuer; View login and/api/v1/auth/callbacksucceedoidc-authz-endpoint-list/token-urlstill override discoveryhttps://host/oauth2) resolves.../oauth2/.well-known/openid-configuration