简体   繁体   English

使用Google OpenIDConnect重置密码

[英]Reset password using google openIDConnect

I am working on a project where we integrating the google openIdConnect to let user sign-in to the application using google auth. 我正在一个项目中进行整合google openIdConnect的项目,以便用户使用google auth登录应用程序。 I taken help from https://developers.google.com/identity/protocols/OpenIDConnect to authenticate user. 我从https://developers.google.com/identity/protocols/OpenIDConnect寻求帮助来对用户进行身份验证。

I also need to allow user to reset the password within the application post user logged in. But not able to found any specific help on this. 我还需要允许用户在用户登录后的应用程序中重置密码。但是无法在此上找到任何特定的帮助。

Can we able to reset password using openIDConnect or it not possible at all. 我们能否使用openIDConnect重置密码,或者根本无法重置密码。 If its possible then how. 如果可能的话如何。

NOTE: My preference would be client side solution then a server side. 注意:我的偏好是客户端解决方案,然后是服务器端。

One of great side effects of OpenID Connect is that you do not need to care about user registration+confirmation and password reset processes within your application. OpenID Connect的一大副作用是您无需关心应用程序中的用户注册,确认和密码重置过程。 If you are using google as an identity provider, google takes care of this. 如果您使用google作为身份提供者,则google会处理此问题。

At most, you could link to password-reset URL from google, but: 您最多可以链接到Google的密码重置网址,但是:

  1. It is already linked on the google's login page. 它已经在Google的登录页面上链接了。
  2. Google could change URL without prio notice as it is not a part of OpenID Connect specification. Google可以更改网址而无需事先通知,因为它不是OpenID Connect规范的一部分。
  3. Why do you think google will be using passwords for authentication ? 您为什么认为Google将使用密码进行身份验证

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

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