API - add refresh token

This commit is contained in:
Sam
2022-05-27 14:18:50 +02:00
parent 64b813a44b
commit 887553dd5d
5 changed files with 10 additions and 4 deletions

View File

@@ -72,7 +72,10 @@ class TestCreateOAuth2Client:
) -> None:
oauth_client = create_oauth_client(TEST_METADATA, user_1)
assert oauth_client.grant_types == ['authorization_code']
assert oauth_client.grant_types == [
'authorization_code',
'refresh_token',
]
def test_oauth_client_has_expected_redirect_uris(
self, app: Flask, user_1: User