Git Product home page Git Product logo

Comments (3)

wklken avatar wklken commented on May 1, 2024

https://github.com/Tencent/bk-PaaS/blob/master/paas-ce/paas/login/bkaccount/views_api_v2.py#L33

image

@alex-smile 看代码, 来自esb的请求是需要带bk_username的, 需要确认下逻辑

from bk-paas.

alex-smile avatar alex-smile commented on May 1, 2024

请求 bk_login get_user 组件,默认需提供参数用户登录态 bk_token,如果希望使用 bk_username,则需要先将 bk_app_code 添加到用户免认证白名单中

from bk-paas.

makerwei avatar makerwei commented on May 1, 2024

@wklken @alex-smile 感谢回复,代码逻辑我看了,没有什么问题,白名单那个我试试,再次感谢

from bk-paas.

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.