Logout failed because query parameter post_logout_redirect_uri is set but id_token_hint is missing.
See original GitHub issueDescribe the bug
I used the config postLogoutRedirectUri
but after I call function to logOut this.oauthService.logOut();
the SSO server returns this error:
The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed. Logout failed because query parameter post_logout_redirect_uri is set but id_token_hint is missing.
Please help me with your advice, many thanks.
Expected behavior
Can logOut successful.
Desktop (please complete the following information):
- OS: Window 11
- Browser Chrome
- Version 106.0.5249.119 (Official Build) (64-bit)
Issue Analytics
- State:
- Created a year ago
- Comments:7
Top Results From Across the Web
connect/endsession from SPA client - missing logoutId #396
The Get method should call the POST method, which it doesn't - it redirects to the Logout.cshtml view because no logonId is set....
Read more >IdentityServer4 PostLogoutRedirectUri - Stack Overflow
The missing piece of the puzzle is to configure OIDC in the client ... SetParameter("PostLogoutRedirectUri", "yet another URL that's going ...
Read more >Logout Redirect Page - Questions - Okta Developer Community
Logout redirect causes this error: {“errorCode”:“invalid_client”,“errorSummary”:“Invalid value for 'client_id' parameter.
Read more >IdentityServer/IdentityServer4 - Gitter
But i used my local machine android client to login with identity server and get access token is successfully, but not able to...
Read more >OpenID Connect Logout - Medium
The query parameters are as follows (from the spec):. id_token_hint: Previously issued ID Token passed to the logout endpoint as a hint about ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Not sure if you’re expecting a specific response from me, but I might not have time to dive deeply into your situation. I mostly moderate issues here and answer the ones I can quickly solve, but for other stuff I do also rely on the broader community to help each other out.
Just as an aside, what you could also try is clone my sample repository and reconfigure it against your own IDS, to see if that gives the same issue. (If so, things might be a problem on your IDS side?)
Hope that makes sense! And again: perhaps a community member can chip in?
Thank you, i will try to create a repo for reprocedure purpose.