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

EmailAuth cannot handle actions after successful login #232

Closed
2 tasks done
jokimina opened this issue Oct 25, 2023 · 3 comments
Closed
2 tasks done

EmailAuth cannot handle actions after successful login #232

jokimina opened this issue Oct 25, 2023 · 3 comments

Comments

@jokimina
Copy link

jokimina commented Oct 25, 2023

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

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

  • OS: [e.g. macOS, Windows]
  • Browser (if applies) [e.g. chrome, safari]
  • Version of supabase-js: [e.g. 6.0.2]
  • Version of Node.js: [e.g. 10.10.0]

Additional context

Add any other context about the problem here.

@jokimina jokimina added the bug Something isn't working label Oct 25, 2023
@silentworks silentworks removed the bug Something isn't working label Nov 5, 2023
@Hallidayo
Copy link
Contributor

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

@makkus183
Copy link

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
Copy link

any workarround?

@jokimina jokimina closed this as completed Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants