add scope to id

This commit is contained in:
2025-10-24 20:05:56 -03:00
parent c68aa98fc9
commit c4509f5072
18 changed files with 173 additions and 58 deletions

View File

@@ -17,6 +17,7 @@ def test_authorize(
lambda_context: LambdaContext,
):
session = new_session(USER_ID)
print(session)
r = app.lambda_handler(
http_api_proxy(
@@ -26,7 +27,7 @@ def test_authorize(
'response_type': 'code',
'client_id': 'd72d4005-1fa7-4430-9754-80d5e2487bb6',
'redirect_uri': 'https://localhost/callback',
'scope': 'openid offline_access read:users',
'scope': 'openid profile email offline_access apps:admin',
'nonce': '123',
'state': '456',
},