You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a OAuth2 Proxy in front of another web application.
The OAuth2 Proxy links to the Zitadel instance.
When deployed the OAuth2 Proxy crashes with the error
[2024/05/16 18:06:01] [main.go:60] ERROR: Failed to initialise OAuth2 Proxy: error intiailising 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: error performing request: Get "http://localhost:8080/.well-known/openid-configuration": dial tcp [::1]:8080: connect: connection refused
When testing the same setup with another identity provider, it works
The issues also persists, when I use a Zitadel Cloud account.
To reproduce
Create a file docker-compose.yaml with the content:
As this is docker (compose) localhost from the proxy resolves against the proxy container. In other words, you try to connect to port 8080 of the auth service.
In docker compose you should use the service name as hostname. Eg. idenitty-provider:8080. Note the you need to tell zitadel about this domain. Either through the ZITADEL_EXTERNALDOMAIN config or as an instance custom domain inside console.
muhlemmer
added
the
waiting
For some reason, this issue will have to wait. This can be a feedback that is being waited for, a de
label
Jun 12, 2024
Preflight Checklist
Environment
Self-hosted
Version
v2.51.3
Database
PostgreSQL
Database Version
16.3
Describe the problem caused by this bug
I have a OAuth2 Proxy in front of another web application.
The OAuth2 Proxy links to the Zitadel instance.
When deployed the OAuth2 Proxy crashes with the error
When testing the same setup with another identity provider, it works
The issues also persists, when I use a Zitadel Cloud account.
To reproduce
docker-compose.yaml
with the content:docker compose up -d
Screenshots
No response
Expected behavior
As written in the Documentation: OAuth2 Proxy starts flawless
Operating System
No response
Relevant Configuration
See
docker-compose.yaml
Additional Context
I tried to replace
OAUTH2_PROXY_OIDC_ISSUER_URL=http://localhost:8080
with the hardcoded endpointsThis gives me another error when logging in.
Same error as in #5267.
The text was updated successfully, but these errors were encountered: