【发布时间】:2017-01-08 19:22:43
【问题描述】:
我已启用谷歌身份验证:
var googleOAuth2AuthenticationOptions = new GoogleOAuth2AuthenticationOptions
{
ClientId = "MYID",
ClientSecret = "MYSECRET"
};
app.UseGoogleAuthentication(googleOAuth2AuthenticationOptions);
它工作正常,但是当 somone 已经登录谷歌时,它不会为他显示“选择帐户表单”。我如何强制谷歌始终显示“选择帐户表单”?
我阅读了有关设置 prompt=select_account 的信息,但我不知道如何使用 OWIN 启用它
寻求帮助!
谢谢
【问题讨论】:
标签: c# asp.net-mvc asp.net-identity owin katana