I have implemented Keycloak SSO in my angular web app using keycloak-angular package, but my requirement is to log in via API, not from the keycloak login page, as my login page contains few features other than authentication.
So I have to post the user credentials to the keycloak via REST API call. How can I achieve this?