我试图在PHP中开发一个App,通过WordPress的Eventbrite插件连接到Eventbright,并将其连接到本地化为新西兰的Evenbright用户帐户。
连接登录被Eventbrite放入的最近重定向阻止去.com - > .NZ
我现在只在美国创建一个新帐户,以便尽快测试这个区域重定向破坏...所以我可以继续做一些工作,但发布这个也许是WordPress插件的开发者我和#39;使用可以看看。
我的应用程序请求URL [1],然后重定向到[2]和[3]。在使用tom@funk.co.nz成功登录后,我们通过[4]登陆URL [5]并出现错误:
" Eventbrite授权请求:您尝试使用的应用程序向Eventbrite发出了无效请求。请联系应用程序开发人员。"
[0] http : // [my website]/wp-admin/tools.php?page=eventbrite-page
[1] http : // [my website]/wp-admin/tools.php?page=keyring&service=eventbrite&blog=1&for=eventbrite&action=request&kr_nonce=5c02dd7dd7&nonce=b01918bd21
[2] https : // [eventbrite com]/oauth/authorize?response_type=code&redirect_uri=http%3A%2F%2Flocalhost%2Fwp-admin%2Ftools.php%3Fpage%3Dkeyring%26service%3Deventbrite%26action%3Dverify%26kr_nonce%3D10a94c785b%26nonce%3D20efff0172&state=4
[3] https : // [eventbrite com]/login/?referrer=/oauth/authorize%3Fresponse_type%3Dcode%26redirect_uri%3Dhttp%253A%252F%252Flocalhost%252Fwp-admin%252Ftools.php%253Fpage%253Dkeyring%2526service%253Deventbrite%2526action%253Dverify%2526kr_nonce%253D10a94c785b%2526nonce%253D20efff0172%26state%3D4
[4] https : // [eventbrite co nz]/international/change_locale/?locale=en_NZ&ssodata=ALL0zNqAzt_ArDsJX7BOnK_FpbwlY2apmrXwulr4ULf5uOCvKhyGBzJZ41FtJhYKJSg4vVsHm7_xzwbbBE0TZTf5QIVw9pglvg&url=https%3A//[eventbrite co nz]/oauth/authorize%3Fresponse_type%3Dcode%26redirect_uri%3Dhttp%253A%252F%252Flocalhost%252Fwp-admin%252Ftools.php%253Fpage%253Dkeyring%2526service%253Deventbrite%2526action%253Dverify%2526kr_nonce%253D10a94c785b%2526nonce%253D20efff0172%26state%3D4%26internal_ref%3Dlogin&lang=en-au
[5] https : // [eventbrite co nz]/oauth/authorize?response_type=code&redirect_uri=http%3A%2F%2Flocalhost%2Fwp-admin%2Ftools.php%3Fpage%3Dkeyring%26service%3Deventbrite%26action%3Dverify%26kr_nonce%3D10a94c785b%26nonce%3D20efff0172&state=4&internal_ref=login