refresh_token 只有 password 和 authorization_code 两种方式才有,client_credentials方式 是不会返回refresh_token的!!
我们依旧要在代码中authorizedGrantTypes加一个 refresh_token才可以
.authorizedGrantTypes("authorization_code","password","client_credentials","refresh_token")
请求模式 和前面的一样