Duplicate User while login with SAML

Dear All,

Hope you all are doing great.

I am trying to setup Nextcloud with LDAP and SAML both.

When login with SAML, i see duplicate user (profile) being created.

I have some data with LDAP login and want, when login with same user with SAML them same profile should map.

For saml, i am using Keycloak.

Any idea on this issue please

Thanks