cooperlyt / keycloak-phone-provider

A Keycloak provider for phone and SMS
MIT License
286 stars 159 forks source link

Normal login after fail login #23

Closed activekey closed 1 year ago

activekey commented 2 years ago

i have a problem in login with phone. When login fails, the basic (keycloak theme) login page is displayed. thanks

https://user-images.githubusercontent.com/113419422/189836149-083ec308-94bb-4599-b3ca-8f00931a44d0.mp4

activekey commented 2 years ago

answer : supportPhone in login.ftl in post request is false

cooperlyt commented 1 year ago

your flows config is wrong, refer readme

tungboom commented 1 year ago

@cooperlyt I used version keycloak-phone-provider-21.0.2_phone-2.3.3 and got the same error. I have configured as readme.

tungboom commented 1 year ago

Hi @activekey, How did you fix this?

GLY-JeffreyTCK commented 7 months ago

Hi any answer for this? I have same experience for this

GLY-JeffreyTCK commented 7 months ago

@tungboom @cooperlyt @activekey do you fix on this issue?

tungboom commented 7 months ago

@GLY-JeffreyTCK I have customized it with another theme and removed supportPhone. It's not necessary for me

image

GLY-JeffreyTCK commented 7 months ago

@tungboom ok thanks for your reply. Finally i able find another solution to override challenge function to set supportPhone to true in PhoneUsernamePasswordForm.java

Screen Shot 2024-05-04 at 17 08 08