jeremyb34
10/06/2022, 8:41 AM/recipe/signin
API request parameters are only email
and password
but maybe there's a way to extend something and supports email
or username
parameters?
Thanks in advance for your replies and suggestions 🙂rp_st
10/06/2022, 8:46 AMrp_st
10/06/2022, 8:46 AMrp_st
10/06/2022, 8:46 AMjeremyb34
10/06/2022, 9:04 AMemail
field label](https://supertokens.com/docs/emailpassword/common-customizations/signin-form/changing-field-labels), but I'm not sure that I can extend the backend sign-in process to handle authentication with email or username.
What I'm looking for is that the user can fill the sign-in form with his email (e.g. john.doe@gmail.com
) or his username (e.g. john.doe
) and his password of course 🙂rp_st
10/06/2022, 11:55 AMrp_st
10/06/2022, 11:56 AMrp_st
10/06/2022, 11:56 AMrp_st
10/06/2022, 11:57 AMjeremyb34
10/06/2022, 12:01 PMemail
property (with a custom validator) but it'll not offer a way for the member to sign in with his email or his username.
What I'm looking for is to save both member's email and username and to handle this 2 information in the sign-in form.
You mention that "you can override the APIs on the backend", do you have any documentation of this?rp_st
10/06/2022, 12:03 PMrp_st
10/06/2022, 12:04 PMrp_st
10/06/2022, 12:04 PMjeremyb34
10/06/2022, 12:07 PM