John-Weeks-Dev / aliexpress-clone

This is an AliExpress Clone E-commerce site built with Nuxt 3, Vue JS, Supabase, Stripe, Tailwind CSS, Prisma, Pinia, and hosted on Netlify
https://youtube.com/watch?v=dVcCRFVhz74
164 stars 54 forks source link

Sigin Using Supabase Not working #2

Open Cybortex opened 1 year ago

Cybortex commented 1 year ago

After setting up supabase authentication in the app, i was forced to create a /login page and im not able to go into the /auth. I also cant access the index.vue page at all. when i sign up, it registers the user but doesnt redirect to the home page.

Im not sure what the problem is exactly but the main issue im facing is that when i start up the app in localhost, it goes to /login and i cant go to any other page.

plantnt commented 10 months ago

Did you solve this issue? This also happened to me and I cant find what is causing it, I tried restarting the app, but even if I disable the google login from supabase, it doesnt work and keeps sending me to /login

bender9507 commented 9 months ago

Hi, I had a very similar issue while working on 'threads-clone' project, Ultimately, it was thanks to the following code in nuxt.config.ts that I was able to navigate to other pages. @Cybortex @plantnt

  supabase: {
    redirect: false,
  },