Bypass Cockpit Login Screen to implement reverse proxy Authentication. #4092
Unanswered
moutasem1989
asked this question in
Q&A
Replies: 1 comment
-
this is the working custom configuration of NPM with Authentik reverse proxy authentication
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using Cockpit on my Home Lab and I would like to use it with Authentik.
Like many self hosted Services, SSO and Header Authentication are not supported. I want to solve this by using Authentik + Nginx reverse proxy authentication and using Nginx to bypass the internal login screen. This way no configurations of PAM or Cockpit that could break things. Theoretically one can add authentication information as
additionalheaders
here for Authentik users.According to Cockpit documentation, they use basic HTTP authentication to send log in data to the server.
Unfortunately the auth_request /login part is breaking the configurations and I am not sure how to get this part to work.
if this is something feasible, any help is much appreciated!
Additionally, I saw that many are requesting SSO authentication in NPM, perhaps this could be a possibility for a workaround?
Beta Was this translation helpful? Give feedback.
All reactions