I have keycloak standalone running on my local machine.
I created new realm called \'spring-test\', then new client called \'login-app\'
According to the rest docu
For those having problems with curl the curl command is as follows
curl -d "client_secret=" -d "client_id=" -d "username=" -d "password=" -d "grant_type=password" "http://localhost:8080/auth/realms//protocol/openid-connect/token"
The curl command works without the Content-Type header.
Content-Type