From 82c0e7874e2eed2251255daf357843245e412218 Mon Sep 17 00:00:00 2001 From: juanifioren Date: Mon, 13 Jul 2015 17:38:38 -0300 Subject: [PATCH] Add jwks endpoint to discovery. --- oidc_provider/lib/endpoints/discovery.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/oidc_provider/lib/endpoints/discovery.py b/oidc_provider/lib/endpoints/discovery.py index 945695f..759c034 100644 --- a/oidc_provider/lib/endpoints/discovery.py +++ b/oidc_provider/lib/endpoints/discovery.py @@ -22,8 +22,7 @@ class ProviderInfoEndpoint(object): types_supported = [x[0] for x in Client.RESPONSE_TYPE_CHOICES] dic['response_types_supported'] = types_supported - # TODO: - #dic['jwks_uri'] = None + dic['jwks_uri'] = SITE_URL + reverse('oidc_provider:jwks') # See: http://openid.net/specs/openid-connect-core-1_0.html#SubjectIDTypes dic['subject_types_supported'] = ['public']