supabase-community / auth-ui

Pre-built Auth UI for React
https://supabase.com/docs/guides/auth/auth-helpers/auth-ui
MIT License
488 stars 121 forks source link

EmailAuth cannot handle actions after successful login #232

Closed jokimina closed 3 months ago

jokimina commented 11 months ago

Bug report

Describe the bug

https://github.com/supabase/auth-ui/blob/main/packages/react/src/components/Auth/interfaces/EmailAuth.tsx#L78-L83

To Reproduce

  1. login with email and password
  2. The login was successful, and the user information was returned, but the action could not continue

Expected behavior

Can handle the action after login

Screenshots

1

System information

Additional context

Add any other context about the problem here.

Hallidayo commented 11 months ago

Hi @jokimina, Are you using a framework with auth-ui?

makkus183 commented 8 months ago

I can confirm this. I am using next.js as framework. When using email/pw login no redirect to the given redirectTo happens after clicking the Sign In Button. The Login is successful btw, after reloading the page i am logged in.

yepelinux commented 3 months ago

any workarround?