-
I am unsure if this is an issue or not. How can I tell rauthy to logout a user from it's provider if logging out from rauthy? Currently rauthy seems not to call the end session endpoint or any configuration for it? I read the book about the user logout options, but did not understand if it can be done: I am using ADFS as provider and there are these options to logout, and I would have expected to see a call to the "end_session_endpoint", but it currently seems not to do it (v0.29.3)? there are multiple ways to logout from ADFS:
or:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Currently, you can't. Rauthy can accept Backchannel Logout from upstream providers and propagate them to downstream clients, but it does not trigger a logout upstream. This is also not as straight forward as you might think, since this can very easily get you into a situation with endless loops and you DDoSing yourself, your upstream and all clients. For instance, if Rauthy would simply trigger an additional upstream logout now, this self-DDoSing would happen. Making this work is not simple at all. If you just have a single upstream provider, it can be done if Rauthy would actually save the The issue is, that this will most probably not work reliably. To be able to log out upstream, you need a valid The next issue is, when you have multiple upstream providers. Some support backchannel logout, other don't. You of course need to track the data and state for all of them, and renew tokens for all of them, even if you don't need them at all. You could maybe do a front channel redirect in that case so the user has to click logout on the upstream provider with a possibly existing session in the browser, but even that might not work and the user would end up in a very weird place, if it fails. Another solution might be to do all of this additional overhead work, save all tokens and renew them constantly, and then on logout, do the logout like it works now, and in addition send one to upstream. This would, on success, trigger this whole chain twice, if you add some additional checks in the chain and don't forward logouts to upstream again, if they came from upstream already. All of this is possible, but a huge amount of work, additionally used resources 24/7, and not implemented at all so far. |
Beta Was this translation helpful? Give feedback.
Currently, you can't.
Rauthy can accept Backchannel Logout from upstream providers and propagate them to downstream clients, but it does not trigger a logout upstream. This is also not as straight forward as you might think, since this can very easily get you into a situation with endless loops and you DDoSing yourself, your upstream and all clients.
For instance, if Rauthy would simply trigger an additional upstream logout now, this self-DDoSing would happen. Making this work is not simple at all. If you just have a single upstream provider, it can be done if Rauthy would actually save the
id_token
fr…