The realm's default locale setting doesn't match the encoded regular expression.
I see that the passed value is "en" or "fr" but not "en-EN" or "fr-FR" as expected by this regex.
See this attached screenshot (cc.coopersoft.keycloak.phone.utils)
Therefore, the default locale is always null
unless "spi-phone-default-[$realm-]phone-default-region" is defined.
The realm's default locale setting doesn't match the encoded regular expression. I see that the passed value is "en" or "fr" but not "en-EN" or "fr-FR" as expected by this regex.
See this attached screenshot (cc.coopersoft.keycloak.phone.utils)
Therefore, the default locale is always null unless "spi-phone-default-[$realm-]phone-default-region" is defined.