Open fullheart opened 1 year ago
Looks interesting, thanks.
Great! Here some further information how BookStack implemented this feature (mentioned open-source project in description):
prevent_auto_init
GET param that prevent auto login (Example: https://DOMAOIN/login?prevent_auto_init=true
). In this case only the Login button with OpenID is visible (
see Screenshot )Closing due to inactivity. Please reopen it if necessary.
Hi @hirunatan
Please re-open this issue, because this feature is still missing.
Thanks
Is your feature request related to a problem? Please describe.
At the moment we need a extra click to login with an OpenID Provider by clicking on Button
OpenID
. This extra click is not needed, when this feature request get implemented.Describe the solution you'd like.
To speed-up the login process with an OpenID Provider, it would be create to activate auto-login with a new env variable. With this approach users must not click extra on
OpenId
Button.A great reference to implement this feature, is the implementation in the open source project BookStack: https://www.bookstackapp.com/docs/admin/oidc-auth/ . They provide a
AUTH_AUTO_INITIATE
env variable. When this variable is set totrue
, the login process automatically starts, when login page is visited.Describe alternatives you've considered.
I workaround this missing features in our organisation by "hacking" the docker container like that:
custom_config.js
docker-compose.yml
Additional context
No response