summaryrefslogtreecommitdiffstats
path: root/templates/user/auth/oidc_wellknown.tmpl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-10-11 10:27:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-10-11 10:27:00 +0000
commit65aa53fc52ff15efe54df4147564828d535837f8 (patch)
tree31c51dad04fdcca80e6d3043c8bd49d2f1a51f83 /templates/user/auth/oidc_wellknown.tmpl
parentInitial commit. (diff)
downloadforgejo-debian.tar.xz
forgejo-debian.zip
Adding upstream version 8.0.3.HEADupstream/8.0.3upstreamdebian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--templates/user/auth/oidc_wellknown.tmpl49
1 files changed, 49 insertions, 0 deletions
diff --git a/templates/user/auth/oidc_wellknown.tmpl b/templates/user/auth/oidc_wellknown.tmpl
new file mode 100644
index 00000000..54bb4a76
--- /dev/null
+++ b/templates/user/auth/oidc_wellknown.tmpl
@@ -0,0 +1,49 @@
+{
+ "issuer": "{{AppUrl | 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": [
+ "{{.SigningKey.SigningMethod.Alg | 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"
+ ]
+}