-
Notifications
You must be signed in to change notification settings - Fork 161
Issue setting up oauth2-proxy with azure b2c tenant #299
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
Comments
Hi @shetsu01, the azure provider has been deprecated please try the new entra id provider. https://oauth2-proxy.github.io/oauth2-proxy/configuration/providers/ms_entra_id/ |
I'm getting the same issue with |
@shetsu01 the error message is not from oauth2-proxy. If you visit the oidc url you specific: You get:
Exactly what oauth2-proxy is reporting back to you in the logs. |
And if the oidc well-known endpoint is not reachable. Discovery won't work: https://learn.microsoft.com/en-us/azure/active-directory-b2c/openid-connect#validate-the-id-token |
Furthmore, you should not share your client id or cookie secret. Its called cookie secret for a reason ;) |
Uh oh!
There was an error while loading. Please reload this page.
We have been struggling to setup the oauth2-proxy helm chart on our Azure AKS cluster with Azure B2C integration. We have been getting the below error for all the different combinations we have tried.
ERROR
[2025/04/07 12:52:30] [provider.go:55] Performing OIDC Discovery...
[2025/04/07 12:52:30] [main.go:59] ERROR: Failed to initialise OAuth2 Proxy: error initialising provider: could not create provider data: error building OIDC ProviderVerifier: could not get verifier builder: error while discovery OIDC configuration: failed to discover OIDC configuration: unexpected status "404": The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
Do you have a sample values file for this setup that you can share or help us in figuring out what could be wrong here
Below is one of the values.yaml file we used
The text was updated successfully, but these errors were encountered: