Password change mechanism

How can I implement password change mechanism?

Hi @nkadd!

You can call the email link operation again with the same email address and a new password, the server will change the password to the new one.

2 Likes

Hi,

What’s the difference or the use case/s between “AuthenticateCustomAsync” and “LinkCustomAsync”.

Thanks.

Authenticate* functions are used to authenticate with given credentials and return a session token, optionally creating the account if needed.

Link* functions are used to attach new credentials to an existing account. This would let you authenticate with these new credentials in addition to existing ones, with all of them mapping to the same account.