I am usiing the spring boot documentation https://www.baeldung.com/spring-boot-keycloak and i have stopped at POINT 4 i am not able to generate token both by POSTMAN AND curl any suggestion please, especially foe the documentation above. my error is client credentials error.
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"