FX-HAO / keycloak-phone-authenticator

Obtain token and reset password via SMS
130 stars 43 forks source link

How To Access VerificationCode table if I already have an external db setup? #8

Closed dev-aakash1998 closed 3 years ago

dev-aakash1998 commented 3 years ago

Hi, thanks for this package, I am using it currently to enable OTP flow, I was wondering where this Verification Code table might be. I am using an external PGSQL DB for all keycloak data storage, do I need to do some changes in the code so that this table is also created in the same DB? Or would this table be just added to the existing Keycloak DB? Thanks in advance.

FX-HAO commented 3 years ago

Once you register this module, a table named verification_code will be automatically created in the existing keycloak database. So there's nothing you need to do.

dev-aakash1998 commented 3 years ago

Yeap got it! Thanks!