cooperlyt / keycloak-phone-provider

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

Keycloak 21.1 - Realm (default) locale setting is not recognized. #62

Open GValFr35 opened 1 year ago

GValFr35 commented 1 year ago

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)

image

Therefore, the default locale is always null unless "spi-phone-default-[$realm-]phone-default-region" is defined.

GValFr35 commented 1 year ago

realize this could be the same issue as #52

freaksterz commented 5 months ago

Anyone solving for this ? lost 1 hour finding this out?