Use cockpit session to authenticate other webapps #19603
Unanswered
L1800Turbo
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Reading the first issue, it doesn't say you can't embed a web page in Cockpit it won't integrate nicely however. You can turn off most of content-security-policy via Regarding authentication, Cockpit uses PAM for auth so I don't fully see how that can be re-used for other applications. We have some documentation here https://github.com/cockpit-project/cockpit/blob/main/doc/authentication.md |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
as I understood, embedding external webapps is currently not supported. I saw #12269 or #19051
But I wasn't able to get this example running for the mentioned reasons that
iframe.src
is not allowed. Playing withcontent-security-policy
didn't help so far.So my next approach was to at least offer a link to the external webapp and make the external app available for the client, here I'd like to login into these services by a token, so that there's no additional login necessary.
Getting the login of cockpit for this would be great, as cockpit is able to do an auto-login with the current logged Active Directory user.
I didn't find an example for this, nor a documentation, so far.
In gbraad-redhat/podman-cockpit-desktop#3 it seems to face problems logging in into cockpit, but this works out of the box.
That brings me to my questions:
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions