diff --git a/passbook/providers/oauth2/views/provider.py b/passbook/providers/oauth2/views/provider.py index 4b9fe9757..69b69e8a5 100644 --- a/passbook/providers/oauth2/views/provider.py +++ b/passbook/providers/oauth2/views/provider.py @@ -66,7 +66,9 @@ class ProviderInfoView(View): provider: OAuth2Provider = get_object_or_404( OAuth2Provider, pk=application.provider_id ) - response = JsonResponse(self.get_info(provider)) + response = JsonResponse( + self.get_info(provider), json_dumps_params={"indent": 2} + ) response["Access-Control-Allow-Origin"] = "*" return response