Not logged in - Login / Register

Login using JWT

Compared to the legacy backend the endpoint for logging in has changed to POST /auth/signin. Instead of your username you will only be able to log in using your email address.

Using the example data:

POST /api/signin
{
  "email": "demo@qwiksense.com",
  "password": "demo",
  "rememberMe": true
}

We get the following result (which you can copy paste to swagger):

{
  "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxLVozbVptd29FSlhGdVwvT3RvSWorRnVEWmtpMVZOc092bURES2VNNVRzVldTT3Y1MFJTSWVEV2Zublg2MlVSSGYwTE9HbE9tK0NBMFwvU2dpMVBOUkRySDZzOU1QMXoyaTVCZHBpVzNmMlRaZz09Iiwicm9sZSI6Imd1ZXN0IiwiaXNzIjoiZGFzaGJvYXJkLWFwaSIsImV4cCI6MTQ5MDg3NTU3NywiaWF0IjoxNDg4MjgzNTc3LCJqdGkiOiJjMmIzY2RkODRkMGQxZDI4NzNhNjZkY2ZmMGE3NGJkNzhiNTJhNzRlY2ZlYzUxZTEzZGZhYzI3OWQ5MWI0YzQ4M2QyMDQ3NzM2NTZkMmY2NDA3ODNkMmI4N2Y4NThhYjFlYjM4NjQwYWQ0YzcyZTkwNWY2ZTgyOTNjMzRiMmUwNWJiOGQ0NDBiODY4M2UxNGJkMDQ3YmJiNzYyYWNhMjIwOWY5N2U2MzI0MzQ1NzQzZjljNjAxZGIwZTg5ZjVjZGU1NmI5MTJhMzI0MDU3NDBiMmVhOTIxNThkZDU3MDY1NmMxOTZkMjYwODU3MGE2YTZjZTkwNTdiZjc1MDM2YzMxIn0.UaB0M7pD9QTwxWIa1DfwJAAjkhxsB4gJDWcODA4smJA"
}