GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 企业微信第三方应用缺少授权配置接口 · Issue #1746 · binarywang/WxJava

企业微信第三方应用缺少授权配置接口 #1746

New issue
Copy link
New issue
Copy link
Closed
Closed
企业微信第三方应用缺少授权配置接口#1746
Copy link
Labels
企业微信
Milestone
4.0.0

Description

@ShunqinChen
ShunqinChen
opened on Sep 9, 2020
Issue body actions

简要描述

  1. 企业微信第三方应用,通过第三方网站授权时,需要优先进行授权设置,否则会提示redirect_uri不匹配
  2. 查阅了WxCpApiPathConsts暂无此接口对应路径
  3. 查阅了WxCpTpService.java及其默认实现BaseWxCpTpServiceImpl,目前只发现了getPreAuthUrl(String redirectUri,String state)方法中获取了预授权码,但是还需要通过预授权码进行授权设置才能使得预授权码对应的授权生效
  4. 建议把获取预授权码和设置授权配置的方法单独封装成接口.

官方文档地址

https://work.weixin.qq.com/api/doc/90001/90143/90602

Activity

  1. ShunqinChen commented on Sep 9, 2020

    @ShunqinChen
    ShunqinChen
    on Sep 9, 2020
    Author
    More actions

    已验证过上述内容,通过手动post调用执行,再进行授权成功

  2. binarywang commented on Sep 9, 2020

    @binarywang
    binarywang
    on Sep 9, 2020
    Owner
    More actions

    建议直接提交PR代码,既然你都已经验证成功了是吧?

  3. ShunqinChen commented on Sep 9, 2020

    @ShunqinChen
    ShunqinChen
    on Sep 9, 2020
    Author
    More actions

    谨慎的先问问作者看看是不是在哪漏了,晚点试试提PR

  4. binarywang commented on Sep 9, 2020

    @binarywang
    binarywang
    on Sep 9, 2020
    Owner
    More actions

    谨慎的先问问作者看看是不是在哪漏了,晚点试试提PR

    其实我也无法判断,没做过这部分的开发。你可以先把代码提交上来,供他人试用,如果真有问题再修复也不迟。

  5. binarywang
    added
    企业微信
    on Sep 9, 2020
  6. ShunqinChen commented on Sep 9, 2020

    @ShunqinChen
    ShunqinChen
    on Sep 9, 2020
    Author
    More actions

    我也是碰壁了才知道, 看到了官方的回答才做了测试,结果是可以.
    https://developers.weixin.qq.com/community/develop/doc/0002ec92f58cf8e45d89042035b000

  7. binarywang
    added this to the 3.9.3 milestone on Sep 13, 2020
  8. binarywang commented on Sep 19, 2020

    @binarywang
    binarywang
    on Sep 19, 2020
    Owner
    More actions

    楼主是否有计划提交PR代码?

  9. binarywang
    removed this from the 3.9.3 milestone on Sep 19, 2020
  10. LeoInnovateLab
    added a commit that references this issue on Nov 28, 2020

    Fix issue binarywang#1746: 企业微信第三方应用增加授权配置接口

    63fb5a0
  11. binarywang
    added this to the 4.0.0 milestone on Nov 29, 2020
  12. binarywang
    added a commit that references this issue on Nov 29, 2020

    🆕 #1746: 【企业微信】第三方应用增加授权配置接口,同时增加向员工付款的接口

    0e21866
  13. binarywang
    closed this as completedon Nov 29, 2020
  14. binarywang
    added a commit that references this issue on Nov 29, 2020

    合并develop分支,发布最新正式版

    d2f5adc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    企业微信

    Projects

    No projects

      Milestone

      • 4.0.0

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.