【发布时间】:2014-09-30 18:42:43
【问题描述】:
我在任何地方都找不到如何在 ASP.NET 4.5 网络表单应用程序中设置 OAuth2 redirect_uri。默认情况下,它设置为 localhost,当然我从 google 得到这个错误:
The redirect URI in the request: http://localhost:3884/signin-google did not
match a registered redirect URI
这来自 Facebook:
Given URL is not allowed by the Application configuration.: One or more of the
given URLs is not allowed by the App's settings. It must match the Website URL
or Canvas URL, or the domain must be a subdomain of one of the App's domains.
我从我的网站域(而不是本地主机)收到此错误。
【问题讨论】:
标签: c# asp.net .net webforms oauth-2.0