- docker v17.05 or higher
- current user in docker group or sudo
...TBD...
POST /api/v1/users/{GUID}
{
"login": "some login",
"email": "some@email",
"password": "password"
}
GET /api/v1/users/{GUID}
GET /api/v1/auth/jwt
HEADERS: Authorization: "{login}:{password}"
git clone git@github.com:FreeElephants/rest-auth.git
cd rest-auth
./tools/build-base.sh
./tools/build-dev.sh
./tools/composer.sh install
# for tests run
./tools/codeception.sh run
REST Auth service use next env variables with default values:
REST_AUTH_DB_CONNECTION_URL=sqlite:////srv/rest-auth/db.sqlite # In doctine url connection format
REST_AUTH_DEV_MODE=true # Doctrine dev mode
REST_AUTH_HTTP_HOST=127.0.0.1
REST_AUTH_PORT=8080
REST_AUTH_ADDRESS=0.0.0.0
REST_AUTH_ORIGIN=* # multiple values can be comma separated