diff options
| author | Frederick Muriuki Muriithi | 2026-06-22 14:10:39 -0500 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2026-06-22 14:21:40 -0500 |
| commit | 702c6221e39f3137179fb87d31c9870a6997bc4a (patch) | |
| tree | 905f5bad01d9800e7c663b35fadc20c9a091f53d /gn_auth | |
| parent | 5222bd314992aa17cab2a0e3d549586e6a844b5c (diff) | |
| download | gn-auth-702c6221e39f3137179fb87d31c9870a6997bc4a.tar.gz | |
Diffstat (limited to 'gn_auth')
| -rw-r--r-- | gn_auth/wsgi.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/gn_auth/wsgi.py b/gn_auth/wsgi.py index 4fc9bd0..d908831 100644 --- a/gn_auth/wsgi.py +++ b/gn_auth/wsgi.py @@ -434,9 +434,14 @@ def create_test_oauth2_client(session_timestamp, users_file, owner_role, f"Owner user {owner_record['user_id']!r} not found in DB", file=sys.stderr) sys.exit(1) - record = __create_one_client__(conn, client_name, owner, scopes=( - "profile", "group", "role", "resource", - "register-client", "user", "masquerade")) + record = __create_one_client__( + conn, + client_name, + owner, + tuple(), + scopes=( + "profile", "group", "role", "resource", + "register-client", "user", "masquerade")) __write_output__( {"session_timestamp": session_timestamp, "client": record}, |
