diff options
| -rw-r--r-- | gn_auth/wsgi.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gn_auth/wsgi.py b/gn_auth/wsgi.py index bab9991..ec47201 100644 --- a/gn_auth/wsgi.py +++ b/gn_auth/wsgi.py @@ -434,7 +434,9 @@ 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, tuple()) + record = __create_one_client__(conn, client_name, owner, scopes=( + "profile", "group", "role", "resource", + "register-client", "user", "masquerade")) __write_output__( {"session_timestamp": session_timestamp, "client": record}, |
