Watch
25
0
Fork
You've already forked HedgeDoc
0
mirror of https://github.com/hedgedoc/hedgedoc.git synced 2026-08-28 14:44:40 +02:00
HedgeDoc/public/views/index
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lars Kiesow d05cfe4e9f feat: add auto login to skip sign-in method chooser
If you combine OIDC with local accounts or if your OIDC provider is an
external company (Facebook, GitHub, …) it makes sense for HedgeDoc to
show a additional login modal so users know that they will leave the
page.

However, if OAuth2/OIDC is a deployment's primary sign-in method and a
local OIDC provider is being used, users expect the common SSO method
being used, and he "Choose method" modal is a redundant extra click.
Essentially, you may have to click login thrice:

- Click login -> modal opens
- Click Login with provider -> provider login opens
- Log in (unless you are logged in already)

This simple patch adds an auto-login configuration, which makes the Sign
In button link straight to the provider's OAuth2 flow, improving the UX
of tHedgeDoc's login.

Signed-off-by: Lars Kiesow <lkiesow@uos.de>
2026-08-21 10:33:25 +02:00
..
body.ejs feat: add auto login to skip sign-in method chooser 2026-08-21 10:33:25 +02:00
footer.ejs Remove cdn support 2021-08-15 00:09:53 +02:00
head.ejs Do not translate slogan 2023-07-30 20:07:27 +02:00
header.ejs Refactor templates and rearrange its path 2017-01-21 13:08:29 +08:00