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
You should send your data in a POST request with Content-Type header value set to application/x-www-form-urlencoded, not json.
Content-Type
application/x-www-form-urlencoded