收藏
回答

小程序内嵌webview,访问时 提示 redirect_uri 参数错误,请问是什么问题?

业务域名,网页授权域名,js安全域名都配置了 ,在微信访问正常,小程序内嵌访问报错。

地址:"https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx3b4a368e9a516b1c&redirect_uri=https%3a%2f%2flivestream2.aistarfish.com%2flive%2ftvchat-925850065%3fv%3d1682478648078%26medusa_referParams%3d%257B%2522biz_mission_id%2522%253A%2522RES2023040319744254077358158%2522%252C%2522schema%2522%253A%2522https%253A%252F%252Flivestream2.aistarfish.com%252Flive%252Ftvchat-925850065%253Fv%253D1682478648078%2526medusa_referParams%253D%25257B%252522biz_mission_id%252522%25253A%252522RES2023040319744254077358158%252522%25257D%2522%252C%2522position%2522%253A12%252C%2522sourceId%2522%253A%2522RES2023040319744254077358158%2522%252C%2522eventId%2522%253A%2522033001600110003%2522%257D%26extAppId%3dwx9cc6c2245b8918ef%26miniName%3dHX_APP%26appVersion%3d2.4.0%26productType%3dhxjkMiniWechat%26prefixEventId%3d033%26signSK%3d1C62A6693D2C7E078C4364D87B5634C5%26utdid%3dwechat_a091c77adc134a8363ef56c7a5989fed%26medusa_referPage%3d033001600110008%26medusa_referPage_trace_less%3dpages%252Findex%252Findex%26medusa_referParams_trace_less%3d%257B%2522schema%2522%253A%2522https%253A%252F%252Flivestream2.aistarfish.com%252Flive%252Ftvchat-925850065%253Fv%253D1682478648078%2526medusa_referParams%253D%25257B%252522biz_mission_id%252522%25253A%252522RES2023040319744254077358158%252522%25257D%2522%252C%2522position%2522%253A12%252C%2522sourceId%2522%253A%2522RES2023040319744254077358158%2522%252C%2522mId%2522%253A%2522001600110003%2522%252C%2522mXpath%2522%253A%2522%252Fpage%252Fview%252Fview%252Fview%255B3%255D%252Fscroll-view%252Fview%255B1%255D%252Fview%255B2%255D%252Fswiper%252Fswiper-item%255B13%255D%2522%257D%26medusa_traceId%3d930004221682484670311%26oauthToken%3d4120485f3c76425d9baf60c375b6c644%26userId%3dU2018020814264699800000305%26viewHeight%3d724%26loginToken%3dc208ab378dc04a378420e30a101fc09f%26wechatType%3dhxjkWechatMini%26ver%3d4652e48b81d94bbfb69cc56169fc1980%26auth_time%3d1682484674&response_type=code&scope=snsapi_userinfo&state=miniauth23042612&uin=MTI0NjYwMDMwNQ%3D%3D&key=17a9b845763528e4e74cf73e95df523dc8dd01cb197a9d20bb820e4dd19c73acda51d8cba93e4ca6374a3915bd2c3839&pass_ticket=0jnT9DJQciJY8HZ75HsamZl8synqPJOzLFbZOWM2uzVfy7wGDFGrxCBGUMPTyP+QzvGKnLeKAF+MWmmI5mAZftCS+P55LOrKMnGWjl52mQs="

回答关注问题邀请回答
收藏

4 个回答

  • 游戏人生
    游戏人生
    2023-04-26

    。。。你这webview是啥? 那么多重定向。。。

    建议先发下 正常的页面看下,没有重定向,没有登录的

    2023-04-26
    有用 1
    回复
  • TNT
    TNT
    2023-04-26

    小程序内的h5 不能用网页授权相关的东西吧?

    2023-04-26
    有用
    回复
  • A黑色低调
    A黑色低调
    2023-04-26

    楼上是正解 你这用了网页授权,网页授权回调地址不对,如果是直接拼接的用urlencode把回调地址转码下

    2023-04-26
    有用
    回复
  • 默
    2023-04-26

    你嵌套的H5地址 使用了微信授权 去走微信授权的时候 回调地址错误导致的 让H5开发查授权回调就行

    2023-04-26
    有用
    回复
登录 后发表内容