-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
是不是不支持jsonwebtoken,为啥我配置的token一直获取失败 #42
Comments
yapi 所在的服务器能访问到你填的 http 访问地址吗 |
是同一个地址,我停掉应用重新启动都没用,后来发现把chrome里面的yapi点击退出,重新登录,token配置才生效 |
额。。可能权限那块有问题。。 |
确实是权限有问题. |
确实是权限有问题. |
postman测试过,我的返回数据格式是:{“xxx”:“yyy”, "accessToken": "eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI3ODQ3MTQyQUVEMEQyQzQ0QzZDNjA3RUU2MzVERjg1NSIsInN1YiI6InVzcl85YWZiMWVkOS00NjFmLTRkNzItYWVhYy1lM2FkMDQxMTdkMDUiLCJzY29wZSI6Impvd29pb3QiLCJhdWQiOiIxMC40Mi4yNDQuNTEiLCJpYXQiOjE2MTY0ODIzMDQsIm5iZiI6MTYxNjQ4MjMwNCwiZXhwIjoxNjE2NzQxNTA0fQ.UlnaCtF5yQ8342hG37aG9F_Gd5leh6ATnBetx5F6z44"}
自动鉴权--获取token的地址的检测功能也正常获取到token,看到的是data属性对应上面的返回值
我从响应里面获取数据,但是永远没法自动获取到,我配置过如下参数:
body.accessToken
body.data.accessToken
提示都是如下:
自动获取token状态:失败,更多信息:环境:【test】数据格式出错,请检查
但是明明自动获取token都校验成功?
The text was updated successfully, but these errors were encountered: