"""Auth Application. The auth application is responsible for providing the different endpoints that allows a user to log in and other applications to verify the validity of a token. """ from flask import Flask from owslogger import flask_logger from auth import config from auth.utils import json app = Flask(__name__) app.json_encoder = json.CustomJSONEncoder # Setting up the logging flask_logger.setup( app, config.LOGGER_DSN, config.ENVIRONMENT, config.LOGGER_NAME, config.LOGGER_LEVEL, config.SERVICE_NAME, config.SERVICE_VERSION, exclude_paths=[config.HEALTH_CHECK])