Better AuthBA
Better Auth3d ago
4 replies
edinstance

Social Sign Up

I'm currently using the Cognito provider with better auth but when I want to sign up a user and use

authClient.signIn.social({ provider: "cognito", callbackURL: "/account" })


even if i want to sign up a user it will take them to the signin page first and they have to click create a new user. The only difference between the pages is the page either /login or /signup.

Is there any planned support for something like
authClient.signUp.social
for this case or maybe even a sign up flag like this
authClient.signIn.social({ provider: "cognito", callbackURL: "/account", signUp: true })
or would contributions for this be accepted? If so what option do you think is better?

I don't know how many other providers this affects as well.

Thank you so much
Was this page helpful?