Skip to content

App with Keeps Reloading When User Is Already Signed In #1

Description

@Krasnoslabodtsev

The app is running locally on http://localhost:3000. When a user is already signed in and tries to access the /sign-in route, the application enters a reload loop.

In the console: The component cannot render when a user is already signed in, unless the application allows multiple sessions. Since a user is signed in and this application only allows a single session, Clerk is redirecting to the afterSignIn URL instead.

Expected Behavior:

Authenticated users who access the /sign-in route should be redirected to the home page or dashboard instead of seeing the sign-in form again.

Actual Behavior:

The app attempts to render the component for an already authenticated user, causing a reload loop.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions