Add jwks endpoint to discovery.
This commit is contained in:
parent
fe153f51a6
commit
82c0e7874e
1 changed files with 1 additions and 2 deletions
|
@ -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']
|
||||||
|
|
Loading…
Reference in a new issue