Trusted headers, autoconnect to services #166
Replies: 2 comments 1 reply
-
|
Hello! Thank you for your docs contribution, it was appreciated! Seafile is notable as it supports both OIDC and Trusted Header SSO Authentication. In order to have the seamless login experience, you are going to want to use the Trusted Header SSO authentication setup for Seafile, as OIDC Authentication for most Client apps will require the user to choose their login provider from a menu. Your reverse-proxy should be able to act as a gateway to make sure users are logged in to VoidAuth (this is what the I don't know why Seafile wouldn't be picking up that you are already logged in though, maybe make sure it is protected by VoidAuth in HAProxy and has the |
Beta Was this translation helpful? Give feedback.
-
|
Hi again ! Thanks for your answer. I understand that trusted headers is "something else" than SSO, and so I checked the configurations you talked about, be it on you voidauth website, on authelia website, or on seafile website. I'm still not making it :(. Here is my haproxy conf reduced to seafile, wikijs services and then voidauth :
On seafile side, I disabled SSO & LDAP conf (I mainly used ldap at the moment so my real accounts are on it..), and added the conf variables and mapping I could find on this and this : The behavior didn't change, I still land on seafile login screen :(. That set aside, I do suggest to add a haproxy guide on your website once this case is working. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
You might have seen me recently playing with voidauth (in particular concerning services seafile & wikijs).
While I was able to connect to these services using sso from voidauth (kind of a first win, let's admit it), I'm still unable to make it work so that if I'm already connected through voidauth, these two services automatically navigate me to the content, and show me as connected.
I suppose this is a reverse proxy problem, but I'm not an expert on the subject and kind of have already tried everything I could think of.
I'm using HAProxy and the configuration was based on what Authelia suggests.
I previously tried with authelia for the same result (which probably means yet again this isn't a voidauth problem).
But well, I still want it to work, and for that I gotta understand how it works.
After connecting directly on voidauth (no redirection invoked, for the sake of this particular test), and then browsing one of my service, I see in the cookies :
I suppose there must be something helping seafile (for example) understanding that I'm already connected, and this could be it, but I see no reason for it to know "x-voidauth-session".
Is there supposed to be another cookie, header or idk, with a standard name, which would help the service knowing I'm already authenticated ?
Thanks in advance for any help, really :).
Beta Was this translation helpful? Give feedback.
All reactions