-
-
Notifications
You must be signed in to change notification settings - Fork 253
Log out not possible #169
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
I'm afraid So what happens when you logout is that When you remove all sessions on your OP, lua-resty-openidc will not know that and you remain logged in until the lua-resty-openidc session expires. |
I think you expect |
@bodewig Oh okay. I think I understand what are you saying. But what should I do now instead? |
Until there is a new release of lua-resty-openidc you'd have to use the Lua file from master - #168 is the only change compared to 1.6.0. Once you've done that you'd use
and leave I haven't closed this issue as there is no good workaround in any released version of lua-resty-openidc. One thing you can do with the released versions is to look up the correct |
with 1.6.1 out now, you should be able to achieve what you need by using |
Works perfectly. Thanks a lot!! :) |
@bodewig Thank you for your work in this very nice project. @amiiya Hi, could you please post your working configuration with keycloak? I've lost about 3 days trying to learn the ins and outs. Single sign in is working but single sign out.. another story. If I understand correctly you have backend channel logout (single sign out) working with keycloak, e.g. for at least two realm clients/apps if you logout from one you're doing it for the other. |
Hi there again!
I'm currently working on the logout. I have my
/webui
where i embedded some JSON-Data from my secured/backend
. If I'm not logged in there is nothing to see. I login via the redirect of/backend
. If I go back to my/webui
I can see everything perfectly. There's a logout button (/backend/logout
) too. If I click it, my/webui
is restricted like it shouldBUT if I go directly to
/backend
directly, the session is still active and after accessing/backend/logout
again, it doesn't seem to log out. If I go back to/webui
it is suddenly not restricted again and i can see my data again even though i logged out before and the data disappeared from my view. This happened after accessing/backend
.I logged in to
http://localhost:5000/auth/realms/internal/account/sessions
to "log out from all sessions". I was kicked out of the Realm-Login but my/backend
is still remaining. I tried to force reload too but i doesn't work. I also tried to setredirect_after_logout_with_id_token_hint = false
but that didn't make a difference.How can i kill this session? Except deleting the cookies..
The text was updated successfully, but these errors were encountered: