Failed to decode basic authentication token
来源:6-5 重构短信登录

eddie_k2
2018-09-06
通过 http://localhost:8080/oauth/token 获取 "access_token": "e8fc2561-09f6-43a4-b57b-8bfabe8d6530",
然后发送短信 加了 deviceId 然后请求短信登录,出现这个错误?
{
"timestamp": 1536163850465,
"status": 500,
"error": "Internal Server Error",
"exception": "org.springframework.security.authentication.BadCredentialsException",
"message": "Failed to decode basic authentication token",
"path": "/secuity/mobile"
}
写回答
1回答
-
JoJo
2018-09-07
token前面不应该是basic 应该是 bearer
032018-09-09
Spring Security技术栈开发企业级认证与授权
Spring Security技术栈,REST风格开发常见接口,独立开发认证授权模块保证REST服务安全
2662 学习 · 1561 问题
相似问题