Add Access-Control-Allow-Origin to ProviderInfoView.
This commit is contained in:
parent
6cb706fe0f
commit
a583648be2
1 changed files with 4 additions and 1 deletions
|
@ -203,7 +203,10 @@ class ProviderInfoView(View):
|
||||||
dic['token_endpoint_auth_methods_supported'] = ['client_secret_post',
|
dic['token_endpoint_auth_methods_supported'] = ['client_secret_post',
|
||||||
'client_secret_basic']
|
'client_secret_basic']
|
||||||
|
|
||||||
return JsonResponse(dic)
|
response = JsonResponse(dic)
|
||||||
|
response['Access-Control-Allow-Origin'] = '*'
|
||||||
|
|
||||||
|
return response
|
||||||
|
|
||||||
|
|
||||||
class JwksView(View):
|
class JwksView(View):
|
||||||
|
|
Loading…
Reference in a new issue