mirror of
https://github.com/simple-login/app.git
synced 2025-02-22 23:02:55 +08:00
add userinfo_endpoint, remove introspection_endpoint and revocation_endpoint in /.well-known/openid-configuration
This commit is contained in:
parent
8185af7770
commit
541cf80b77
1 changed files with 3 additions and 2 deletions
|
@ -160,6 +160,7 @@ def setup_openid_metadata(app):
|
|||
"issuer": URL,
|
||||
"authorization_endpoint": URL + "/oauth2/authorize",
|
||||
"token_endpoint": URL + "/oauth2/token",
|
||||
"userinfo_endpoint": URL + "/oauth2/userinfo",
|
||||
"jwks_uri": URL + "/jwks",
|
||||
"response_types_supported": [
|
||||
"code",
|
||||
|
@ -171,8 +172,8 @@ def setup_openid_metadata(app):
|
|||
"subject_types_supported": ["public"],
|
||||
"id_token_signing_alg_values_supported": ["RS256"],
|
||||
# todo: add introspection and revocation endpoints
|
||||
"introspection_endpoint": URL + "/oauth2/token/introspection",
|
||||
"revocation_endpoint": URL + "/oauth2/token/revocation",
|
||||
# "introspection_endpoint": URL + "/oauth2/token/introspection",
|
||||
# "revocation_endpoint": URL + "/oauth2/token/revocation",
|
||||
}
|
||||
|
||||
return jsonify(res)
|
||||
|
|
Loading…
Reference in a new issue