Closed tonyeung closed 8 years ago
Does IdSvr show the link to return back to your client app?
It does not.
Below is a screenshot of what I see after IdSvr is done with logout. The url when you hover on "Identity Server 3" is the url of IdSvr rather than the login page I specified as the post logout redirect url.
My bad, I didn't know there was a client setting specifically for logout redirects. I need to see if there's a way to make IdSvr do an actual redirect instead of just showing thing link though. If I need help, I'll post a question in the IdSvr repo
For anyone else that encounters this - I was missing the EnablePOstSignOutAutoRedirect setting on the AuthenticationOptions: https://identityserver.github.io/Documentation/docsv2/configuration/authenticationOptions.html
When I call redirectForLogout() it goes to idsvr to logout, but then it stays on the page "You are now logged out". The redirect uris are whitelisted in the client configuration.
Below are the settings I have on the client.
Am I forgetting something?
https://idsvr/connect/endsession?post_logout_redirect_uri=http%3A%2F%2Fspadomain%2Flogin&id_token_hint=hint