Styling voor code.overheid.nl
- Go Template 76.2%
- CSS 23.8%
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).
|
||
|---|---|---|
| public/assets | ||
| templates | ||
| .gitignore | ||