mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-07-25 10:57:37 +00:00
A template should not get (easy) access to a full signing key to prevent accidents. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10967 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Co-authored-by: Nils Goroll <nils.goroll@uplex.de> Co-committed-by: Nils Goroll <nils.goroll@uplex.de>
49 lines
1.2 KiB
Go HTML Template
49 lines
1.2 KiB
Go HTML Template
{
|
|
"issuer": "{{.Issuer | JSEscape}}",
|
|
"authorization_endpoint": "{{AppUrl | JSEscape}}login/oauth/authorize",
|
|
"token_endpoint": "{{AppUrl | JSEscape}}login/oauth/access_token",
|
|
"jwks_uri": "{{AppUrl | JSEscape}}login/oauth/keys",
|
|
"userinfo_endpoint": "{{AppUrl | JSEscape}}login/oauth/userinfo",
|
|
"introspection_endpoint": "{{AppUrl | JSEscape}}login/oauth/introspect",
|
|
"response_types_supported": [
|
|
"code",
|
|
"id_token"
|
|
],
|
|
"id_token_signing_alg_values_supported": [
|
|
"{{.SigningAlg | JSEscape}}"
|
|
],
|
|
"subject_types_supported": [
|
|
"public"
|
|
],
|
|
"scopes_supported": [
|
|
"openid",
|
|
"profile",
|
|
"email",
|
|
"groups"
|
|
],
|
|
"claims_supported": [
|
|
"aud",
|
|
"exp",
|
|
"iat",
|
|
"iss",
|
|
"sub",
|
|
"name",
|
|
"preferred_username",
|
|
"profile",
|
|
"picture",
|
|
"website",
|
|
"locale",
|
|
"updated_at",
|
|
"email",
|
|
"email_verified",
|
|
"groups"
|
|
],
|
|
"code_challenge_methods_supported": [
|
|
"plain",
|
|
"S256"
|
|
],
|
|
"grant_types_supported": [
|
|
"authorization_code",
|
|
"refresh_token"
|
|
]
|
|
}
|