Hi, I would like to fire an alert (using Sentry) w...
# support-questions-legacy
i
Hi, I would like to fire an alert (using Sentry) when someone get redirected to the build-in AccessDenied page this is example of our usage:
Copy code
<Suspense fallback={LoadingScreen}>
        <SessionAuth
          accessDeniedScreen={AccessDeniedScreen}
          overrideGlobalClaimValidators={(globalValidators) => [
            ...globalValidators,
            UserRoleClaim.validators.includes('admin')
          ]}
          onSessionExpired={() => {
            navigate(RoutePaths.Login);
          }}>
          {props.children}
        </SessionAuth>
      </Suspense>
any suggestions except overriding the page?