...
Code Block |
---|
# REPLACE: <CLIENT_ID>, <USER>, <PASSWORD> curl -X POST -u "<CLIENT_ID>:" \ -d "grant_type=password&username=<USER>&password=<PASSWORD>&scope=openid profile email" \ https://test2.kada.ai<domain>/keycloak/auth/realms/kada/protocol/openid-connect/token # Response. The access_token will be used to authenticate API calls to KADA. { "access_token": "..", "expires_in": 7200, "refresh_expires_in": 86400, "refresh_token": "...", "token_type": "bearer", "id_token": "...", "not-before-policy": 0, "session_state": "...", "scope": "openid profile email" } |
...