How to know the OTP (One Time Password) pattern or format which will be triggered under OTP verification screen. Please refer
Recover the One-Time Password Task with E-Mail
Identity Manager 14.x & v15
The OTP generator in IDM will produce random numeric OTPs with a fixed length of 8 digits