Add jwks endpoint to discovery.

This commit is contained in:
juanifioren 2015-07-13 17:38:38 -03:00
parent fe153f51a6
commit 82c0e7874e

View file

@ -22,8 +22,7 @@ class ProviderInfoEndpoint(object):
types_supported = [x[0] for x in Client.RESPONSE_TYPE_CHOICES] types_supported = [x[0] for x in Client.RESPONSE_TYPE_CHOICES]
dic['response_types_supported'] = types_supported dic['response_types_supported'] = types_supported
# TODO: dic['jwks_uri'] = SITE_URL + reverse('oidc_provider:jwks')
#dic['jwks_uri'] = None
# 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']