开发者社区> 问答> 正文

302跳转获取code

微应用  通过302跳转方式 获取code   接口 https://oapi.dingtalk.com/connect/oauth2/authorize?appid=xxxxx&response_type=code&scope=SCOPE&state=STATE&redirect_uri=xxxxxxxxx
不执行。

展开
收起
aaaccc 2016-08-18 13:17:59 2816 0
2 条回答
写回答
取消 提交回答
  • 回 1楼injekt的帖子
    自建微应用的首页url 是自己web项目的地址  >>>>去到自己的页面 在重定向这个地址  https://oapi.dingtalk.com/connect/oauth2/authorize?appid=xxxxx&response_type=code&scope=SCOPE&state=STATE&redirect_uri=xxxxxxxxx  结果就是 页面 一直在加载  ,还有就是  在 钉钉 自带的浏览器里  window.location.href 这个玩意不好使
    2016-08-18 16:12:29
    赞同 展开评论 打赏
  • 2016-08-18 14:44:30
    赞同 展开评论 打赏
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载