1、修改 JumpServer 配置文件启用 SSO
vi /opt/jumpserver/config/config.txt
AUTH_SSO=True
修改完成后保存,重启 jumpserver 即可
2、测试获取token
Content-Type application/json
apt.globals.set("token",response.json.token)
1、修改 JumpServer 配置文件启用 SSO
vi /opt/jumpserver/config/config.txt
AUTH_SSO=True
修改完成后保存,重启 jumpserver 即可
2、测试获取token
Content-Type application/json
apt.globals.set("token",response.json.token)