假设我希望特定用户使用特定的电子邮件地址登录。
dave.myservice.com - > dave@example.com
所以,如果你访问这个页面" dave.myservice.com" ,我希望我的申请让他用dave@example.com登录,而不是用他的其他个人帐户登录。
这种情况可能吗?
提前致谢!
答案 0 :(得分:1)
对于Google Oauth,您可以使用login_hint
参数指定您希望用户登录的电子邮件(cf https://developers.google.com/accounts/docs/OAuth2WebServer#formingtheurl)