Use case: I have liveness / readyness endpoints and those check the DB connection among other things. Those endpoints are anonymous.
Issue : error for DB connection failure rise before I can do my check with my logic with my error handling, error code, msg because AuthGuard.canActivate calls getSession() before checking on AllowAnonymous . isPublic is never reached.
Use case: I have liveness / readyness endpoints and those check the DB connection among other things. Those endpoints are anonymous.
Issue : error for DB connection failure rise before I can do my check with my logic with my error handling, error code, msg because
AuthGuard.canActivatecallsgetSession()before checking onAllowAnonymous.isPublicis never reached.