Please enable JavaScript.
Coggle requires JavaScript to display documents.
admin_user Authentication, verify OTP API, username, password - Coggle…
admin_user Authentication
verify OTP API
valid
delete
generate JWT
expiry_time(2 hours)
in-valid
else
Increase limit_counter
if( limit_counter >= 3)
Set Cooldown of 5 mins
username
LOGIN API
valid
SEND/RESEND OTP API
cooldown doesn't exists
Generate OTP
store in Redis
TEMP_OTP_USER_321_678937
expiry_time(60secs)
otp_limit_counter <= 3
send OTP
else
throw error
in-valid
throw error
password