You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I log in with an unregistered mobile number, The Provider still sends SMS to this phone number。
I don't know if I'm misconfigured.
can you help me please?
The text was updated successfully, but these errors were encountered:
You can go file TokenCodeResource.java line 48 in folder keycloak-phone-provider/src/java/cc.coopersoft.keycloak.phone/providers/rest and see what it does
` // everybody phones authenticator send AUTH code
if( !TokenCodeType.REGISTRATION.equals(tokenCodeType) &&
!TokenCodeType.AUTH.equals(tokenCodeType) &&
!TokenCodeType.VERIFY.equals(tokenCodeType) && // <----- remove this will be stop unregistered , but everybody phones authenticator will be fail.
Utils.findUserByPhone(session, session.getContext().getRealm(), phoneNumber).isEmpty()) {
throw new ForbiddenException("Phone number not found");
}
When I log in with an unregistered mobile number, The Provider still sends SMS to this phone number。
I don't know if I'm misconfigured.
can you help me please?
The text was updated successfully, but these errors were encountered: