-
Notifications
You must be signed in to change notification settings - Fork 115
I stay authenticated even after i logout #132
New issue
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
Comments
Glad to hear it's helpful! I'm not 100% sure if I'll always have time to answer individual support questions so you can also try your luck at Stack Overflow or the main library if I'm not responsive here. With that disclaimer out of the way, to your specific current questions.... If your logout seems to work locally but is "gone" after a refresh, then the logout was not persisted at your Identity Server. If you clone and run my sample as is (against the Demo Duende server) that will work. If you track the Network tab (and persist the logs across page loads) you'll see that the logout buttons send you to Duende and that they log you out before sending you back. - So check with your IDS and its implementation. Does it support logging out like this? The code you posted for your second question is indeed specific to Duende as an IDServer. If you have a different server, the data might be different and you'll need to adjust. As far as I recall the structure of the object there is not enforced by the standards. Hope that helps! |
Thanks for the reply. I will check how must the logout be implemented with the IDS i'm using. And by the way, i used the sample as it is with the demo server and i'm encoutering the same issue as #128 but with Google chrome. I don't have this issue with the other server i'm using. Thanks. |
@jeroenheijmans i made a more detailed post in stackoverflow if you could take a look. Thanks anyway. |
Thanks for reposting the question on a broader forum like SO, sorry to see it hasn't gotten much attention yet. Still hope you'll find a solution there or otherwise. And sorry that I'm not able to help with all specific questions on the issues list here, but I hope y'all understand time's limited. |
As an update, i have found that explicitly adding the logoutUrl property fixed the issue. I don't know why but it worked. Thanks again for this project. |
Hi,
First of all i would like to say thank you for this sample project, it's really helpfull.
I have two questions :
result.reason
is always null, maybe i don't know how to get in a situation where it's not null.Thanks again.
The text was updated successfully, but these errors were encountered: