cooperlyt / keycloak-phone-provider

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

Can't find OTP over sms for 2fa #64

Closed Teut2711 closed 1 year ago

Teut2711 commented 1 year ago

I cloned the repository yesterday and then

cd examples docker compose up

I edited the default service to twilio and put those(<>) attributes there.

  keycloak:
    image: coopersoft/keycloak:21.0.1_phone-2.2.2
    #    restart: always
    ports:
      - 8080:8080
    command:
      - start-dev --spi-phone-default-service=twilio --spi-message-sender-service-twilio-account=<> --spi-message-sender-service-twilio-token=<> --spi-message-sender-service-twilio-number=<> 
    environment:
      KEYCLOAK_ADMIN: admin
      KEYCLOAK_ADMIN_PASSWORD: admin
      KC_HEALTH_ENABLED: true

image

I am unable to see any difference by using the "phone" theme and can't get OTP over sms option.

Teut2711 commented 1 year ago

Looks like we need to delete the existing OTP Form and Condition-user configured for this