Authing / authing-java-sdk

Java SDK for Authing
https://docs.authing.cn/v3/reference/sdk/java/install.html
MIT License
230 stars 11 forks source link

autoRegister=false param has no effect in loginByPhoneCode() method #20

Closed amit3vedi closed 2 years ago

amit3vedi commented 3 years ago

if user is not registered and try to do loginByPhoneCode it automatically registers user and user can login without registration. to prevent that i also tried passing autoRegister=false still behavior is same

luojielin commented 2 years ago

You can use this method, It's supported. authenticationClient.loginByPhoneCode(new LoginByPhoneCodeInput(phone, phoneCode,false)).execute();