怎样使用refreshToken 急

来源:6-6 重构社交登录

慕神0438126

2019-08-28

老师你好:
下面是我获取token的方法(也会获取一个refreshToken),应该使用什么方法带上refreshToken来刷新token
http://localhost:7085/authentication/openid?providerId=weixin&openId=666666666

写回答

1回答

云晴

2019-08-28

访问oauth/token


post


参数:grant_type=refresh_token

参数refresh_token=你的refresh_token


请求头带上Authorization信息


//img.mukewang.com/szimg/5d66754609e4d66308970709.jpg

0
2
慕神0438126
你好: 按照你上面的发数据,后台出现这个打印(Encoded password does not look like BCrypt), postman上面出现这个({ "code": 403, "data": "Full authentication is required to access this resource", "message": "没有相关权限" }) 调了一天没找到原因 请问有遇到过吗
2019-08-30
共2条回复

Spring Security技术栈开发企业级认证与授权

Spring Security技术栈,REST风格开发常见接口,独立开发认证授权模块保证REST服务安全

2662 学习 · 1561 问题

查看课程