Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/spring-boot/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 我要邮递员给我寄一张代币Oauth2_Java_Spring Boot_Security_Oauth 2.0_Jhipster - Fatal编程技术网

Java 我要邮递员给我寄一张代币Oauth2

Java 我要邮递员给我寄一张代币Oauth2,java,spring-boot,security,oauth-2.0,jhipster,Java,Spring Boot,Security,Oauth 2.0,Jhipster,我试图通过这种方式获取令牌,但在访问客户端时出现了一些问题 我可以从登录布局登录,我可以通过用户名=admin和密码=admin访问 但是在PostMan中我无法访问,结果表单请求是 { "error": "unauthorized_client", "error_description": "Client not allowed for direct access grants"

我试图通过这种方式获取令牌,但在访问客户端时出现了一些问题

我可以从登录布局登录,我可以通过用户名=admin和密码=admin访问 但是在PostMan中我无法访问,结果表单请求是

    {
    "error": "unauthorized_client",
    "error_description": "Client not allowed for direct access grants"
    }

您应该将客户端id更改为直接访问授权 喜欢这个图像吗