我是使用Spring Boot OAuth2和Spring Boot的新手 . 我使用教程做了一个例子,一切正常 . 但我想知道是否可以使用授权承载令牌头而不是基本身份验证头访问 /oauth/check_token (通过cUrl) . 因为我做了一些测试,Spring返回"Full authentication is required to access this resource" .
/oauth/check_token
谢谢
我想知道是否可以使用授权承载令牌访问/ oauth / check_token(通过cUrl)
不,实际上OAuth2 access_token 和 refresh_token 中有两种类型的令牌可用于访问受保护资源 .
access_token
refresh_token
1 回答
不,实际上OAuth2
access_token
和refresh_token
中有两种类型的令牌可用于访问受保护资源 .