简体   繁体   English

从反应应用程序更改密码auth0用户

[英]Change password auth0 user from react app

Are there anyway to change password of auth0 user from react app integrated with it (instead of the form from auth0 domain)?无论如何,是否可以从与其集成的反应应用程序中更改 auth0 用户的密码(而不是来自 auth0 域的表单)? I suppose there is an API which receives email and password parameters and updates it in auth0 side.我想有一个 API 接收 email 和密码参数并在 auth0 端更新它。

The best way to do this is to use the URL provided by the API for this action.执行此操作的最佳方法是使用 API 提供的 URL 执行此操作。

This depends on where the user authenticates from a certain extent.这在一定程度上取决于用户在哪里进行身份验证。 If they are authenticating from a social connection they will need to reset their password from the initial provider (Google, facebook, etc).如果他们通过社交连接进行身份验证,则需要从初始提供商(Google、facebook 等)重置密码。 However if it's a user name and password then it can be done on the Auth0 side of things.但是,如果它是用户名和密码,那么它可以在 Auth0 方面完成。 This is covered in the documentation below along with workflow.这与工作流程一起包含在下面的文档中。

https://auth0.com/docs/connections/database/password-change https://auth0.com/docs/connections/database/password-change

(Affiliation: I'm Community Lead at Auth0.) (隶属关系:我是 Auth0 的社区负责人。)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM