diff --git a/authentik/providers/oauth2/tests/test_authorize.py b/authentik/providers/oauth2/tests/test_authorize.py index f8d88b5c4..4489be515 100644 --- a/authentik/providers/oauth2/tests/test_authorize.py +++ b/authentik/providers/oauth2/tests/test_authorize.py @@ -329,6 +329,13 @@ class TestAuthorize(OAuthTestCase): def test_full_implicit(self): """Test full authorization""" flow = create_test_flow() + provider: OAuth2Provider = OAuth2Provider.objects.create( + name=generate_id(), + client_id="test", + authorization_flow=flow, + redirect_uris="http://localhost", + signing_key=self.keypair, + ) provider.property_mappings.set( ScopeMapping.objects.filter( managed__in=[