Styling voor code.overheid.nl
  • Go Template 76.2%
  • CSS 23.8%
Find a file
othillo 6053073d7c
feat(auth): friendly labels for OAuth login buttons, drop provider icon
Override Forgejo's core oauth_container.tmpl so the SSOn Rijk / GovConext
OAuth2 login buttons show human-readable Dutch labels and no icon, while
leaving each provider's source name (and the /user/oauth2/<name>/callback
path) unchanged — so no IdP redirect-URI re-registration is needed:

- sso-rijk-prod  -> Inloggen met SSOn Rijk        (pilot / code.overheid.nl)
- sso-rijk-acc   -> Inloggen met SSOn Rijk (acc)  (tst)
- govconext-prod -> Inloggen met GovConext        (pilot, once configured)
- govconext-acc  -> Inloggen met GovConext (acc)  (tst)

Labels match on $provider.DisplayName (the auth-source name), NOT
$provider.Name, which is the provider *type* ('openidConnect'), identical
across all OIDC sources. The provider icon ({{$provider.IconHTML}}) is
dropped: our OIDC sources have no IconURL, so it rendered a generic OpenID
glyph we don't want. href stays bound to DisplayName as upstream; unmatched
providers keep the default 'Sign in with <name>' string. Verified on tst (v16).
2026-07-14 16:47:50 +02:00
public/assets Update public/assets/css/codeoverheid.css 2026-04-30 11:59:44 +00:00
templates feat(auth): friendly labels for OAuth login buttons, drop provider icon 2026-07-14 16:47:50 +02:00
.gitignore Dark mode update, bedankt underdark 2026-04-29 21:55:58 +02:00