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

Allow override of OIDC config at <issuerUrl>/.well-known/openid-configuration #3879

Closed
jameshbarton opened this issue Nov 17, 2020 · 1 comment
Labels
Area: API activities related to API Type: Enhancement New feature or request

Comments

@jameshbarton
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Currently, a number of OIDC configuration settings are derived by Gloo Edge by inspecting the values at <issuerUrl>/.well-known/openid-configuration. Sometimes Okta users in particular need to change these settings to use endpoints that are not associated with the sub-domain that Okta assigns them.

Describe the solution you'd like
OIDC users should be able to override one or more of the configuration settings derived from the .well-known/openid-configuration endpoint to point to alternatives available from their service provider.

@jameshbarton jameshbarton added Type: Enhancement New feature or request Area: API activities related to API labels Nov 17, 2020
@kdorosh
Copy link
Contributor

kdorosh commented Nov 25, 2020

User-provided API for OIDC in Gloo lives on the AuthConfig CRD:

OidcAuthorizationCode oidc_authorization_code = 1;

We also have the in-memory API that gets sent from Gloo Edge Enterprise to the Gloo Edge Enterprise Extauth service:

OidcAuthorizationCodeConfig oidc_authorization_code = 1;

These APIs are separate because in other extauth apis (e.g. ApiKey auth) we use the user-provided config and gloo snapshot to derive the server config that gets sent to the extauth service. In this case, the APIs are the same (for now).

Proposal is to add new API (arbitrary json override) to both APIs, propagate that to Gloo and then to the Extauth service, and then use that in the service to choose the endpoints.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: API activities related to API Type: Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants