Once a use signs up there is no need to redirect to the sign-in page

Open
#85 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript

Research direction

No files, tests, or entry points are named. Start by reproducing the sign-up flow and locating the sign-up page's post-registration redirect handling; done means a newly registered user goes directly to the home page or their previous page without an unnecessary sign-in step.

Written by the indexing model from the issue text.

Description

bug

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

After a user signs up they are redirected to the sign-in page, but this is not needed as the user is already logged in. So, the user should be either redirected to the home page or whichever page they were on before the sign-up page.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Go to the sign-up page and sign up as a new user.
  2. Once you finish signing up you will be taken to the log-in page.
  3. Go to the home page and click the user avatar next to the search bar at the top.
  4. Notice that it shows you are logged in.

Expected behavior

The user can be taken directly to the home page after they sign-up.

Screenshots

N/A

System information

N/A

Additional context

N/A

Dominant language
TypeScript
Stars
443
Forks
31
Avg merge
1h 12m
Merged PRs (30d)
10

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from supabase/dbdev

All issues in supabase/dbdev

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.