微信接口测试号时用ngrok开发网页授权时填写回调域名

来源:互联网 发布:安卓手机运行java程序 编辑:程序博客网 时间:2024/05/17 08:26

t注意:填写ngrok生成的域名时直接填生成的那个二级全域名 比如:dd89d646.ngrok.io

我在web.xml中指定了访问的jsp,也就是通过此域名可以访问到授权后跳转的页面

https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx26513b7aac32d7c0&redirect_uri=http%3A%2F%2Fdd89d646.ngrok.io%2Fwechatyeexun%2Fouath.do&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect



0 0