events: dont log oauth temporary model creation

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer 2023-02-12 16:55:45 +01:00
parent b69e55eae9
commit 4f868c2ef2
No known key found for this signature in database
1 changed files with 4 additions and 0 deletions

View File

@ -27,6 +27,7 @@ from authentik.lib.sentry import before_send
from authentik.lib.utils.errors import exception_to_string from authentik.lib.utils.errors import exception_to_string
from authentik.outposts.models import OutpostServiceConnection from authentik.outposts.models import OutpostServiceConnection
from authentik.policies.models import Policy, PolicyBindingModel from authentik.policies.models import Policy, PolicyBindingModel
from authentik.providers.oauth2.models import AccessToken, AuthorizationCode, RefreshToken
IGNORED_MODELS = ( IGNORED_MODELS = (
Event, Event,
@ -44,6 +45,9 @@ IGNORED_MODELS = (
OutpostServiceConnection, OutpostServiceConnection,
Policy, Policy,
PolicyBindingModel, PolicyBindingModel,
AuthorizationCode,
AccessToken,
RefreshToken,
) )