Add token_endpoint_auth_methods_supported to discovery.
This commit is contained in:
parent
7658257d18
commit
e178f8c1a9
|
@ -170,6 +170,9 @@ class ProviderInfoView(View):
|
||||||
# See: http://openid.net/specs/openid-connect-core-1_0.html#SubjectIDTypes
|
# See: http://openid.net/specs/openid-connect-core-1_0.html#SubjectIDTypes
|
||||||
dic['subject_types_supported'] = ['public']
|
dic['subject_types_supported'] = ['public']
|
||||||
|
|
||||||
|
dic['token_endpoint_auth_methods_supported'] = [ 'client_secret_post',
|
||||||
|
'client_secret_basic' ]
|
||||||
|
|
||||||
return JsonResponse(dic)
|
return JsonResponse(dic)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue