plankanban / planka

The realtime kanban board for workgroups built with React and Redux.
https://planka.app
GNU Affero General Public License v3.0
7.31k stars 676 forks source link

Option to skip Login page with OIDC #769

Open guyke01 opened 1 month ago

guyke01 commented 1 month ago

Is it possible to automatic logon with SSO (OIDC) when the option OIDC_ENFORCED is set to true?

Now the logon page is being displayed and the button Login with SSO is shown. Maybe with a extra environment option to active the feature so you can choose to use the automatic logon.

meltyshev commented 1 month ago

Hi! There is no such possibility for now. But the option with adding an extra environment variable looks like a good solution :)

zloveless commented 3 weeks ago

Is there a way to hide the login form and just show a button saying "Login with SSO"? If it helps, I'm using the docker container provided by the repository (latest tag).

meltyshev commented 3 weeks ago

Is there a way to hide the login form and just show a button saying "Login with SSO"? If it helps, I'm using the docker container provided by the repository (latest tag).

Hi! Yep, you can set OIDC_ENFORCED=true environment variable to display only "Login with SSO" button on the login page.

zloveless commented 3 weeks ago

That is enabled, and I still saw a login form, albeit as a python-style boolean (True vs. true) since it's deployed via ansible.

edit: fixing that python-boolean typo fixed it.

edit 2: the next question then is... Is there a way to customize "Log in with SSO" to "Log in with [Corpo-like Account]"

meltyshev commented 3 weeks ago

the next question then is... Is there a way to customize "Log in with SSO" to "Log in with [Corpo-like Account]"

There is no such option for now. But you can make a fork of the repository and change the text. But yeah, it seems like it would be useful to add that.