Comments (4)
发生了什么, 这一步中 登录页面
的url地址是什么?
(默认url地址中带了c_url是登录成功之后跳转的地址, 例如/login/?c_url=/app/list
)
from bk-paas.
返回的ip是这个http://www.bking.com/login/?app_id=bk_cmdb&c_url=http://127.0.0.1:8083/
在cmdb的cmdb_webserver.conf配置的
from bk-paas.
简单来说就是我用cmdb调用paas的login页面实现用户登陆,但是调用到paas的login页面后输入用户名密码都会跳转到paas的用户管理页面
from bk-paas.
- cmdb和paas是通过 cookie 共享登录态的, 所以其
必须使用相同的一级域名
, cmdb会取请求的cookie中的登录态, 发往paas进行登录态校验, 校验失败跳转到登录页面 - 假设给cmdb配置 cmdb.bking.com, 才能正确跳转
c_url=http://cmdb.bking.com/
from bk-paas.
Related Issues (20)
- 部署后登录报错Invalid APP Code [bk_app_code=bk_paas], please confirm if the APP Code has been registered HOT 1
- 2.4.14 paas部署失败,无法migrate和启动项目
- Lesscode是否能够不依赖社区版Paas独立运行 HOT 1
- 应用创建Secret支持双写 HOT 1
- 支持语义化版本 HOT 2
- Django1.11.29 authenticate接口参数有更新
- paasv3预计什么时候发布? HOT 1
- 绑定私有版企业微信后,扫码认证报“系统出现异常”
- PaaS开发者中心中SaaS可见范围偶发报错 HOT 4
- PaaS源码下载问题 HOT 1
- 原有画布功能整合
- 源码生成和预览集成
- 执行 python manage.py migrate报错 HOT 1
- 多表单流程情形
- 本地启动login组件后访问报错 HOT 7
- esb示例组件报错 HOT 1
- readme.md存在链接失效
- PaaS 平台 esb组件缺少配置文件 HOT 1
- [前端] 登录页面支持显示密码 HOT 1
- 求助2.14.13的部署文档 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bk-paas.