Is there a management background for ordinary users, such as users can change passwords, modify emai...
c
Is there a management background for ordinary users, such as users can change passwords, modify email?
r
Hey @candice07251 there isn’t a ui for this. You can make your own ui and APIs for this and then call our functions in those APIs to achieve the flow you want.
c
Is there an api for changing passwords and emails for users?
r
There is. The backend SDK exposes function for doing this
I don’t know which recipe you are using, but to example, with thirdpartyemailpassword, you can see https://supertokens.com/docs/thirdpartyemailpassword/common-customizations/change-password
c
Thank you!
I want to allow users to modify their email addresses, but I need to verify the new email address. Is there an API for this?
r
we have functions to allow users to modify their email using emailpassword.updateEmailOrPassword. You can make your own API with this function, and then after calling this function, you can set the session's email verification claim to false. This should trigger the email verification flow.