r/selfhosted • u/Squanchy2112 • May 08 '25
Wiki's Authentik OIDC and Bookstack
I have bookstack setup with authentik and autologin and its awesome, I did have a user today that found an issue. When you logout of bookstack is does not kick you to the authentik logout page, like the one where it says logout of bookstack,logout of authentik, go to dashboard. Bookstack will just logout, this is dangerous as it keeps authentik logged in. I wanted to see if anyone know what to do to fix this as I am sure its some issue with my bookstack config, maybe with a url or something.
1
Upvotes
View all comments
Show parent comment
2
u/ssddanbrown May 09 '25
Yeah. That's correct. It all comes down to expectations I guess. I think some may desire a system where auth is always in sync, so a logout of one application, will then talk to the auth server, which will then ensure logout of all connected applications. But these logout scenarios are optional/extra parts of the OIDC spec, with the front/back channel parts being (relatively) recent compared to the base spec.
We do support this in some form for SAML2 auth already, which can be cool when it works, but can be kind of janky due to being front-channel based (works browser side via kinda hacky means IMO).
I woudln't be against exploring adding back-channel OIDC logout to BookStack, but only where there's some level of proven need from the community (to avoid expanding scope without purpose).