API …
Demo applications

Login, register & OTP

A complete account flow backed by the real API: register, log in, reset password, one-time passcode and a profile page.

Practice tasks

  • Register a new account, then log in with it.
  • Try duplicate email, short password and mismatched confirmation.
  • Log in with the demo account and assert the profile page.
  • Request an OTP, read it from the page and verify it (third wrong try locks you out).
  • Reuse the token from localStorage in an API test (key: ty.token).
  • Log out and assert the protected view is gone.

More Demo applications practice