Skip to content

EmailPassword should allow for signin form field customizations #1107

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

Open
vitusan opened this issue Feb 16, 2025 · 2 comments
Open

EmailPassword should allow for signin form field customizations #1107

vitusan opened this issue Feb 16, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@vitusan
Copy link

vitusan commented Feb 16, 2025

🚀 Feature

The recipe of EmailPassword should allow for signin form field customizations, so additional fields can be supplied and accessed where needed.

Implementation details

In my use case, there's a need to know additional data from the user. The frontend js sdk allows for formfield customization, but the backend only allow for signup formfield customization.

To achieve my desired use case, i'm forced to overwrite the signin POST endpoint and perform the signin function on my own. Not a big deal, but it would be nice to use the native function from the Supertokens backend SDK (NodeJS), cause it has more support to other features.

@vitusan vitusan added the enhancement New feature or request label Feb 16, 2025
@surbhiology
Copy link

@vitusan can you not ask those additional details after the sign in?
When you sign in to google it will ask you to do a 2 factor setup, a secondary email , it asks all of this only when the person has signed in

@vitusan
Copy link
Author

vitusan commented Feb 24, 2025

Not really @surbhiology. I'm building a SaaS and i need these features. Anyways, i saw this is the wrong repo. I modified the nodejs-sdk, that's responsible for these validations. The PR is already created in the correct repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants