Giter Site home page Giter Site logo

Comments (6)

johnpoint avatar johnpoint commented on June 4, 2024

#536

from wechat.

johnpoint avatar johnpoint commented on June 4, 2024

是否应该引入 agent_id 进行应用级别的隔离?

from wechat.

wwek avatar wwek commented on June 4, 2024

是否应该引入 agent_id 进行应用级别的隔离?

我也遇到这个问题。

from wechat.

wwek avatar wwek commented on June 4, 2024

accessToken 同企业下不同应用是不一样的
所以NewWorkAccessToken 需要默认 corpid + appid 隔离

from wechat.

wwek avatar wwek commented on June 4, 2024

是否应该引入 agent_id 进行应用级别的隔离?

应该引入,因为企业微信应用的accessToken本身就是按照 agent_id隔离的
也就是说对于企业微信应用来说需要
企业微信+corpid+agentid 组合为缓存key
现在的缓存key仅仅是 企业微信+corpid

from wechat.

houseme avatar houseme commented on June 4, 2024

是否应该引入 agent_id 进行应用级别的隔离?

应该引入,因为企业微信应用的accessToken本身就是按照 agent_id隔离的 也就是说对于企业微信应用来说需要 企业微信+corpid+agentid 组合为缓存key 现在的缓存key仅仅是 企业微信+corpid

@wwek 欢迎搞个pr修复改进

from wechat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.