From fccc8f4959f938e1634388e06e961619412ab781 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 18 Mar 2019 20:42:32 +0100 Subject: [PATCH] set issuer to root address instead of well-known path --- passbook/oauth_provider/views/openid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passbook/oauth_provider/views/openid.py b/passbook/oauth_provider/views/openid.py index b37f0877a..63399a4ef 100644 --- a/passbook/oauth_provider/views/openid.py +++ b/passbook/oauth_provider/views/openid.py @@ -11,7 +11,7 @@ class OpenIDConfigurationView(View): def get(self, request: HttpRequest): """Get Response conform to https://openid.net/specs/openid-connect-discovery-1_0.html""" return JsonResponse({ - 'issuer': request.build_absolute_uri(), + 'issuer': request.build_absolute_uri(reverse('passbook_core:overview')), 'authorization_endpoint': request.build_absolute_uri( reverse('passbook_oauth_provider:oauth2-authorize')), 'token_endpoint': request.build_absolute_uri(reverse('passbook_oauth_provider:token')),