File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
store/backend/neurostore/tests Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -377,7 +377,11 @@ def add_users(real_app, real_db):
377377 from neurostore .resources .auth import decode_token
378378
379379 domain = real_app .config ["AUTH0_BASE_URL" ].split ("://" )[1 ]
380- token = GetToken (domain )
380+ token = GetToken (
381+ domain ,
382+ real_app .config ["AUTH0_CLIENT_ID" ],
383+ real_app .config ["AUTH0_CLIENT_SECRET" ],
384+ )
381385
382386 users = [
383387 {
@@ -395,8 +399,6 @@ def add_users(real_app, real_db):
395399 name = u ["name" ]
396400 passw = u ["password" ]
397401 payload = token .login (
398- client_id = real_app .config ["AUTH0_CLIENT_ID" ],
399- client_secret = real_app .config ["AUTH0_CLIENT_SECRET" ],
400402 username = name + "@email.com" ,
401403 password = passw ,
402404 realm = "Username-Password-Authentication" ,
You can’t perform that action at this time.
0 commit comments