|
本地通过
xtoken = Crypto.encrypt( login_uid + "#" + time, sso_key );response.sendRedirect( sso_url + "?client=" + sso_client_name + "&xtoken=" + xtoken );跳转时页面抓取总是异常,但是链接拿出后去postman中访问就是有相关返回值的;请问哪位大佬遇到过
浏览器抓取:
type | "error" | message | "token超时." | date | "2021-03-16 15:16:36" | spent | 1 | size | -1 | count | 0 | position | 0 | prompt | "com.x.organization.assemble.authentication.jaxrs.sso.ExceptionTokenExpired" |
postman返回:
{
"type": "success",
"data": {
"token": "aNrqCdwh1n9PPahbaV0IAmep4RFOOG6NEj5yMTME8I2EIQFvswZx7A5RyOfwvsQaZXGhTWeETHQ",
"roleList": [
"ProcessPlatformCreator@ProcessPlatformCreatorSystemRole@R"
],
"id": "d53b1bf3-aebb-4843-99c8-b4ffa90de7f3",
"genderType": "d",
"pinyin": "zhangsan",
"pinyinInitial": "zs",
"name": "张三",
"employee": "",
"unique": "zhangsan",
"distinguishedName": "张三@zhangsan@P",
"orderNumber": 93884758,
"controllerList": [],
"changePasswordTime": "2021-03-15",
"lastLoginTime": "2021-03-15",
"lastLoginClient": "",
"mail": "",
"mobile": "18911122222",
"officePhone": "",
"failureTime": "2021-03-15 15:31:58",
"failureCount": 1,
"topUnitList": [
"782cfeec-3d0a-4abb-a1a4-bf6a07d079ea"
],
"createTime": "2020-12-22 15:05:58",
"updateTime": "2021-03-15 17:50:07"
},
"message": "",
"date": "2021-03-16 14:11:41",
"spent": 19,
"size": -1,
"count": 0,
"position": 0
} |
|