我已经在 prem 网站上设置了我的 SharePoint 2013 以接受来自 Google 和 Windows Live 的身份验证。Windows Live 登录在大多数情况下都有效。我在 Azure 中设置了一个 ACS,我在其中指定了用户登录后的返回 URL。我在 Google Developers 控制台中输入了相同的返回 URL。
但是,在用户登录到他们的 Google 帐户后,他们会收到以下错误:
错误:redirect_uri_mismatch
应用:测试
您可以发送电子邮件至此应用程序的开发人员:myemailaddress@copmany.com
请求中的重定向 URI:https ://mysite.accesscontrol.windows.net:443/v2/ openid 与注册的重定向 URI 不匹配。
谁能告诉我我在这里做错了什么,特别是因为 Google Developer Console > Credentials 以及 Azure ACS > Relying party applications 中的返回 URL 是相同的。
编辑:重定向 URL在 Google Developers Console 和 Azure ACS 中均为https://subdomain.mydomain.com/_trust 。
谢谢!