Example how to get a authentication token from keycloak using openid with grant type password.
1 - Configure a keycloack, you can use a docker image https://hub.docker.com/r/jboss/keycloak/
2 - Use the well known url of openId and paste on the field of formulary
3 - Fill the field username and passworkd
4 - Click on getToken
You can validate the token on jwt.io
Binary download: https://github.com/fernandolamp/DelphiKeycloak/releases/download/v1.0/DelphiOpenId.exe