We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
When the browser is directed to the logout endpoint, Hydra responds with "invalid_request" error.
Reproducing the bug
Steps to reproduce the behavior:
Server logs
Stack trace: github.com/ory/hydra/consent.(*DefaultStrategy).issueLogoutVerifier /go/src/github.com/ory/hydra/consent/strategy_default.go:776 github.com/ory/hydra/consent.(*DefaultStrategy).HandleOpenIDConnectLogout /go/src/github.com/ory/hydra/consent/strategy_default.go:941 github.com/ory/hydra/oauth2.(*Handler).LogoutHandler /go/src/github.com/ory/hydra/oauth2/handler.go:121 github.com/julienschmidt/httprouter.(*Router).ServeHTTP /go/pkg/mod/github.com/julienschmidt/httprouter@v1.2.0/router.go:334
Expected behavior Hydra should log out the End-User and redirect the browser to the post_logout_redirect_uri.
Environment
Additional context It seems that the problem is something along these lines:
A possible workaround might be to specify the trailing slash in the config file.
The text was updated successfully, but these errors were encountered:
Nice find! I think this can easily be fixed by TrimRight(..., "/") + "/" here
TrimRight(..., "/") + "/"
Sorry, something went wrong.
Are you up for a PR? :)
02ee452
Thank you!
No branches or pull requests
Describe the bug
When the browser is directed to the logout endpoint, Hydra responds with "invalid_request" error.
Reproducing the bug
Steps to reproduce the behavior:
Server logs
Expected behavior
Hydra should log out the End-User and redirect the browser to the post_logout_redirect_uri.
Environment
Additional context
It seems that the problem is something along these lines:
A possible workaround might be to specify the trailing slash in the config file.
The text was updated successfully, but these errors were encountered: