Add token_endpoint_auth_methods_supported to discovery.

This commit is contained in:
juanifioren 2015-07-31 14:59:33 -03:00
parent 7658257d18
commit e178f8c1a9

View file

@ -170,6 +170,9 @@ class ProviderInfoView(View):
# See: http://openid.net/specs/openid-connect-core-1_0.html#SubjectIDTypes
dic['subject_types_supported'] = ['public']
dic['token_endpoint_auth_methods_supported'] = [ 'client_secret_post',
'client_secret_basic' ]
return JsonResponse(dic)