cooperlyt / keycloak-phone-provider

A Keycloak provider for phone and SMS
MIT License
252 stars 147 forks source link

Duplicate Email Address validation #69

Open masoudniki opened 11 months ago

masoudniki commented 11 months ago
package version
keycloak 21.0.2
keycloak-phone-provider master

hi the problem occur while already there is a user in database with email address and im trying to register with the same email address i get Unique index or primary key violation: "PUBLIC.UK_DYKN684SL8UP1CRFEI6ECKHD7_INDEX_B ON PUBLIC.USER_ENTITY Exception

i also disabled duplicate email address and login with email address in realm setting image

and here the registration config

image

i have also disabled Email As Username and Phone Number As Username and Duplicate Phone

this is where validation occur in RegistrationPhoneUserCreation

image

i will appreciate any help thanks in advance