Nextcloud / Keycloack and ID use to creat account

I have install a nextcloud with version 24.0 on a Ubuntu 22.04 VM.
I have a keycloack working on another Ubuntu VM and connection with social login app works fine.
the user created automaticly depend th ID send by Keycloac
I have upgrade my keycloak and ID of user have changed… (Keycloak is connected to an ldap and during upgrade the ldap ID does not change but the keycloak one change…)

Is it possible to identify a nextcloud account only with the email ?
If not is it possible to change manualy the old OpenID token by the new one in nextcloud?
Or any other idee to solve my probleme?

Many thanks