Closed ostrya closed 3 years ago
See https://www.keycloak.org/docs/latest/securing_apps/#_resource_owner_password_credentials_flow.
The server should return a valid token for a request like this:
curl \ -d "client_id=myclient" \ -d "username=user" \ -d "password=role1,role2,role3" \ -d "grant_type=password" \ "http://localhost:8080/auth/realms/myrealm/protocol/openid-connect/token"
See https://www.keycloak.org/docs/latest/securing_apps/#_resource_owner_password_credentials_flow.
The server should return a valid token for a request like this: