Skip to content

hunter32292/2fa-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2FA Example Service

Steps

  1. Using a browser go to http://localhost:8080/QrCode

  2. Using a OTP authentication app, scan the produced QrCode

  3. Using the below command and your access code from the authenticator app, run the below curl command

curl -v -u John:IamNotACat localhost:8080/login --data '{"OTP":"ACCESS_CODE"}'