mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-19 13:36:48 +00:00
79cd3095e0
On a slow line an OIDC-only login page drew the email and password form while it asked the server which sign-in it offers, then the SSO button once it knew, and only then left for the identity provider. Both looked like something to fill in or click. Until the config answers, the page now shows a short wait instead of the form, and on an OIDC-only instance it becomes a screen that only says where it is going, "Taking you to Keycloak…", with nothing to fill in. A repeat visit announces that redirect at once from the cached config. Should the redirect not have left the page after eight seconds, a quiet link continues by hand. The redirect still never runs on a cached config, right after a sign-out or after a failed sign-in at the provider. That last case now loads the config as well, so an OIDC-only instance shows its own screen with the error rather than a password form nobody can use.