We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e48ee8 commit 29f384eCopy full SHA for 29f384e
tests/app/idp/idp/apps.py
@@ -3,7 +3,12 @@
3
4
5
def cors_allow_origin(sender, request, **kwargs):
6
- return request.path == "/o/userinfo/" or request.path == "/o/userinfo"
+ return (
7
+ request.path == "/o/userinfo/"
8
+ or request.path == "/o/userinfo"
9
+ or request.path == "/o/.well-known/openid-configuration"
10
+ or request.path == "/o/.well-known/openid-configuration/"
11
+ )
12
13
14
class IDPAppConfig(AppConfig):
0 commit comments