Fix oauth2 edge validator

This commit is contained in:
Andrii Landiak 2024-07-09 17:59:24 +03:00
parent 75fb156178
commit 0984a754b6

View File

@ -204,6 +204,9 @@ public class EdgeEventSourcingListener {
return false; return false;
} }
} }
if (entity instanceof OAuth2Info oAuth2Info) {
return oAuth2Info.isEdgeEnabled();
}
// Default: If the entity doesn't match any of the conditions, consider it as valid. // Default: If the entity doesn't match any of the conditions, consider it as valid.
return true; return true;
} }