Not able to integrate Keycloak with Rancher

Have followed all the instructions to Authenticate using Keycloak, but I find this error in Rancher logs while testing the Auth:

2021/03/09 12:34:13 [ERROR] SAML: Unique ID field is not provided in SAML Response

Just can’t figure out what’s going on here. Is Rancher looking for UID field in SAML response from Keycloak?

Keycloak version: 12.0.4

I followed the instructions given here:

This got resolved. I was specifying incorrect field names in the Rancher form.