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've encountered an issue with the post logout redirect URI protocol being set incorrectly when my API is behind a TLS-terminating reverse proxy. Despite configuring the post logout redirect URL with the "https://" protocol, the SDK implementation sets the protocol to "http." This is likely due to the reverse proxy terminating TLS and calling the service without TLS.
I have the same problem.
TLS is terminated on kubernetes ingress, so as pointed out by heikkilamarko the line 132 returns false and the query param to auth-server always contains "post_logout_redirect_uri=http://..."
Solution would be to specify postLogoutRedirectUri as additional parameter to authentication.New() or at least to reuse the protocol from redirectUri.
I've encountered an issue with the post logout redirect URI protocol being set incorrectly when my API is behind a TLS-terminating reverse proxy. Despite configuring the post logout redirect URL with the "https://" protocol, the SDK implementation sets the protocol to "http." This is likely due to the reverse proxy terminating TLS and calling the service without TLS.
zitadel-go/pkg/authentication/authenticate.go
Lines 131 to 133 in aad6fea
The text was updated successfully, but these errors were encountered: