Replies: 1 comment 1 reply
-
You can do all the authentication and session starting as the target user externally, and then start cockpit-ws directly with You can also keep cockpit-ws as-is and create a custom authentication script similar to |
Beta Was this translation helpful? Give feedback.
-
I've been tasked with setting up external authentication for some of our cockpit systems. Unfortunately, this isn't an authentication scheme that works via pam natively nor can it be handled via a Bearer token of some sort (though even if it could use a Bearer token that would leave me with the same question I have currently as far as I understand things).
I seem to recall reading, at some point, that it would/should be possible to launch a cockpit session/bridge externally (i.e. after the external auth process) and then use that as the session for the UI but I can't find any reference to that currently and given what I've read and understand about how cockpit works I'm not sure I see how that would be done.
Do I misremember what I read? Am I missing any current documentation? Is this actually an approach that could work? If so, is there any guidance on what I would need to do to make this work?
Launching cockpit-bridge seems simple enough but I don't see how cockpit-ws, etc. would know about it at that point and I assume some-to-all of what cockpit-session does before launching the bridge is functionality and security critical but I'm not comfortable enough in this space to assess what those details are myself.
Any help would be greatly appreciated. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions