You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
signIn does make sense in most cases, but when implementing your own auth mechanism, or using a more traditional email password auth with resend, signIn("sign-up", ...) makes for a very bad time maintaining and reading.
I propose the name authorize or authenticate which is more encompassing and offers better readability for the future.
So TLDR from:
const { signIn } = useAuthActions()
to
const { authorize } = useAuthActions()
The text was updated successfully, but these errors were encountered:
signIn does make sense in most cases, but when implementing your own auth mechanism, or using a more traditional email password auth with resend, signIn("sign-up", ...) makes for a very bad time maintaining and reading.
I propose the name authorize or authenticate which is more encompassing and offers better readability for the future.
So TLDR from:
to
The text was updated successfully, but these errors were encountered: