Login
curl -v -H "Accept: application/json" -H "Content-type: application/json" -X POST http://localhost:8080/aerogear-controller-demo/login -d '{"username":"john","password":"123"}'
Retrieve information with Auth-Token header
curl -v -H "Accept: application/json" -H "Content-type: application/json" --header "Auth-Token: [YOUR TOKEN]" -X GET http://localhost:8080/aerogear-controller-demo/auth/otp/secret