【发布时间】:2021-01-05 08:43:13
【问题描述】:
我正在使用 Spring Boot 文档https://www.baeldung.com/spring-boot-keycloak 而且我已经停在第 4 点,我无法通过 POSTMAN 生成令牌,并且请 curl 任何建议,尤其是上面的文档。我的错误是客户端凭据错误。
curl -X POST http://localhost:8080/auth/realms/master/protocol/openid-connect/token -H "Content-Type: application/x-www-form-urlencoded" -d "username= user1" -d "password=Chikodili1" -d "grant_type=password" -d "client_id=login-app"
【问题讨论】:
标签: keycloak