EalenXie / spring-oauth2-authenticator

SpringBoot整合spring-security-oauth2完整实现例子
44 stars 32 forks source link

启动后报错401 #3

Closed junecarla closed 1 year ago

junecarla commented 1 year ago

步骤: 1.创建数据库表 2.修改数据库连接 3.启动 4.使用postman调用返回401 localhost:8080/oauth/token?grant_type=client_credentials image

Aichen517 commented 1 year ago

我也遇到了同样的问题 应该是密码有问题 这个是加密过密码 应该是要提供 原明文密码

Aichen517 commented 1 year ago

事实也确实如此 测试出来的 client 明文密码是 123456 image

EalenXie commented 1 year ago

步骤: 1.创建数据库表 2.修改数据库连接 3.启动 4.使用postman调用返回401 localhost:8080/oauth/token?grant_type=client_credentials image

Basic Auth里面的认证密码传123456就行