File tree Expand file tree Collapse file tree 3 files changed +52
-208
lines changed Expand file tree Collapse file tree 3 files changed +52
-208
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,16 @@ const provider = (config) => {
52
52
] ,
53
53
54
54
// Force refresh token issueing
55
- issueRefreshToken : ( ) => Promise . resolve ( true )
55
+ issueRefreshToken : ( ) => Promise . resolve ( true ) ,
56
+
57
+ // It's just a demo, we don't care about CORS
58
+ // https://github.com/panva/node-oidc-provider/blob/main/docs/README.md#clientbasedcors
59
+ clientBasedCORS ( ) {
60
+ return true
61
+ }
56
62
} )
57
63
}
58
64
59
- module . exports = ( config = { } ) => provider ( config ) . callback
65
+ module . exports = ( config = { } ) => {
66
+ return provider ( config ) . callback ( )
67
+ }
Original file line number Diff line number Diff line change 80
80
"jsdom" : " ^19.0.0" ,
81
81
"lodash.get" : " ^4.4.2" ,
82
82
"nuxt" : " ^2.15.8" ,
83
- "oidc-provider" : " ^6.31.1 " ,
83
+ "oidc-provider" : " ^7.10.6 " ,
84
84
"playwright" : " ^1.17.2" ,
85
85
"prettier" : " ^2.5.1" ,
86
86
"siroc" : " ^0.16.0" ,
You can’t perform that action at this time.
0 commit comments