Hey Folks ![]()
I have written a tiny extension to this plugin (technically in the form of a theme/component) - to hide the button “Login via OIDC” in the login popup, but initiate the login-via-oidc flow by accessing a special URL.
discourse-autooidc.zip (1,0 KB)
Use case for this feature is to provide a secure and conveniant (automatic) login via oauth to the members of our company, without exposing a public link to the OAuth-Provider (Authentik in our case, but should also work with Authelia, Keycloak, Auth0, Okta,…) and without annoying all other users with an login-via-oidc-button they never can or should use.
To login via OIDC, just call https://<your-discourse-base-url>/login#autooidc