This commit is contained in:
2025-08-10 02:33:00 -03:00
parent b7143ea634
commit a77cab45c1
10 changed files with 35 additions and 14 deletions

View File

@@ -29,8 +29,9 @@ def test_authorize(
'response_type': 'code',
'client_id': client_id,
'redirect_uri': 'https://localhost/callback',
'scope': 'openid',
'scope': 'openid offline_access',
'nonce': '123',
'state': '456',
},
cookies=[
f'id_token={id_token}; HttpOnly; Secure',

View File

@@ -38,7 +38,7 @@ def test_token(
auth_token = json.loads(r['body'])
assert r['statusCode'] == HTTPStatus.OK
assert auth_token['expires_in'] == 900
assert auth_token['expires_in'] == 600
r = dynamodb_persistence_layer.query(
key_cond_expr='#pk = :pk',