update
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user