Service Auth
Auth is a service for authorizing users in the system.
A JWToken is used for authorization.
The validity period of the token is determined in the configurator using the TOKEN_LIFETIME
environment variable. Default is 3600000 seconds.
This service also manages api keys (validity period of api key is determined by user)
Environment variables:
TOKEN_LIFETIME - period in seconds when token will be expire.
DOMAIN - info for SMS when user login with phone.