Fix typo
This commit is contained in:
parent
98c844f3d6
commit
3b2c2d781f
|
@ -16,7 +16,7 @@ class OpenIDConfigurationView(View):
|
||||||
def get(self, request: HttpRequest):
|
def get(self, request: HttpRequest):
|
||||||
"""Get Response conform to https://openid.net/specs/openid-connect-discovery-1_0.html"""
|
"""Get Response conform to https://openid.net/specs/openid-connect-discovery-1_0.html"""
|
||||||
return JsonResponse({
|
return JsonResponse({
|
||||||
'issuer': self.get_issuer_url(rqeuest),
|
'issuer': self.get_issuer_url(request),
|
||||||
'authorization_endpoint': request.build_absolute_uri(
|
'authorization_endpoint': request.build_absolute_uri(
|
||||||
reverse('passbook_oauth_provider:oauth2-authorize')),
|
reverse('passbook_oauth_provider:oauth2-authorize')),
|
||||||
'token_endpoint': request.build_absolute_uri(reverse('passbook_oauth_provider:token')),
|
'token_endpoint': request.build_absolute_uri(reverse('passbook_oauth_provider:token')),
|
||||||
|
|
Reference in New Issue