File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 3
3
4
4
5
5
def cors_allow_origin (sender , request , ** kwargs ):
6
- return request .path == "/o/userinfo/" or request .path == "/o/userinfo"
6
+ 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
+ )
7
12
8
13
9
14
class IDPAppConfig (AppConfig ):
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ const metadata = {};
20
20
21
21
{#if browser }
22
22
<OidcContext
23
- issuer =" http://127.0.0.1 :8000/o"
23
+ issuer =" http://localhost :8000/o"
24
24
client _id=" 2EIxgjlyy5VgCp2fjhEpKLyRtSMMPK0hZ0gBpNdm"
25
25
redirect _uri=" http://localhost:5173"
26
26
post _logout_redirect_uri=" http://localhost:5173"
You can’t perform that action at this time.
0 commit comments