#a TOTP Demo
A simple demo of TOTP functionality
This application is a simple Spring Boot Application to allow registration of TOTP Soft Tokens and to validate TOTP. I have wrapped the APIs with a simple UI to demonstrate the functions.
mvn spring-boot:run
Server will run on http://localhost:8080
POST /[email protected] HTTP/1.1
Host: example.org
Content-Type: application/json; charset=utf-8
Content-Length: 137
###Expected Response
200 OK
Registration successful. Please check your email for more information.
POST /[email protected]&otp=123456 HTTP/1.1
Host: example.org
Content-Type: application/json; charset=utf-8
Content-Length: 137
###Expected Response
200 OK
true (or) false