### Create a standard User POST http://localhost:1323/api/v1/auth/register Content-Type: application/x-www-form-urlencoded username=test&password=test1234! ### Login with user POST http://localhost:1323/api/v1/auth/login Content-Type: application/x-www-form-urlencoded username=test&password=test1234! ### Login with the admin token POST http://localhost:1323/api/v1/auth/login Content-Type: application/x-www-form-urlencoded password=lol ### Try to refresh the token POST http://localhost:1323/api/v1/auth/refreshToken Content-Type: application/json Authorization: Bearer { "username": "test", "refreshToken": "" } ### Add Scope to test user POST http://localhost:1323/api/v1/auth/scopes/add Content-Type: application/json Authorization: Bearer { "username": "test", "scopes": [ "recipe:create" ] } ### Remove scope from test user POST http://localhost:1323/api/v1/auth/scopes/remove Content-Type: application/json Authorization: Bearer { "username": "test", "scopes": [ "recipe:create" ] } ### POST http://localhost:1323/api/v1/ ### GET http://localhost:1323/api/v1/demo/hello ### GET http://localhost:1323/api/v1/demo/hello/james ### GET http://localhost:1323/api/v1/demo/hello/body Content-Type: application/json { "name": "body" } ### POST http://localhost:1323/api/v1/login?username=test ### GET http://localhost:1323/api/v1/demo/protected Authorization: Bearer