Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the route for the home page? #382

Open
palodaman opened this issue Oct 26, 2024 · 4 comments
Open

the route for the home page? #382

palodaman opened this issue Oct 26, 2024 · 4 comments

Comments

@palodaman
Copy link

I am re-implementing the login/authentication flow with supabase. after the login happens in supabase, I redirect from login to the home page like it is done originally: router.push("/"). But for some reason it re renders the login page. Could someone confirm that the route for the home page after the login is indeed ("/") and not something else. I tried "/home" but that did not work. Please let me know, I am going crazy, hopefully it's a bug in my code. Thanks.

@hamzamekk
Copy link
Contributor

hello @palodaman can you share more informations, like your folder structure ?

@Gaulepal
Copy link
Contributor

Gaulepal commented Nov 8, 2024

hello @palodaman, did you solve your issue? it seems to have the same issue for me, thanks.

@palodaman
Copy link
Author

Hey there @Gaulepal, I did. Take a look at how their auth is working, it requires an access and refresh token. I am using supabase so had to change their zustand auth store and integrate it with supabase. you will either need to provide the Token to render the home page or make changes with how you are handling the authentication.

Copy link
Contributor

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days

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

No branches or pull requests

4 participants
@Gaulepal @hamzamekk @palodaman and others