mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
add well-known config for OIDC (#15355)
* add well-known config for OIDC * spacing per feedback * Update oidc_wellknown.tmpl * add id_token * Update oidc_wellknown.tmpl Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
9
templates/user/auth/oidc_wellknown.tmpl
Normal file
9
templates/user/auth/oidc_wellknown.tmpl
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"issuer": "{{AppUrl | JSEscape | Safe}}",
|
||||
"authorization_endpoint": "{{AppUrl | JSEscape | Safe}}login/oauth/authorize",
|
||||
"token_endpoint": "{{AppUrl | JSEscape | Safe}}login/oauth/access_token",
|
||||
"response_types_supported": [
|
||||
"code",
|
||||
"id_token"
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user