mirror of https://github.com/go-gitea/gitea
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>pull/15511/head
parent
6a7090b41d
commit
024ef3940f
@ -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"
|
||||
]
|
||||
}
|
Loading…
Reference in new issue