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.
Butā€¦
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