This commit adds hooks to establish a login with critterbase in UserContext, same place that session info is retrieved. It is disabled when the UserContext is in an error state, which happens when you pass keycloak but still get stuck at the bctw sign in page. If the login fails, the hook will automatically attempt a sign up instead.
This commit adds hooks to establish a login with critterbase in UserContext, same place that session info is retrieved. It is disabled when the UserContext is in an error state, which happens when you pass keycloak but still get stuck at the bctw sign in page. If the login fails, the hook will automatically attempt a sign up instead.