Mojaloop central AuthZ + AuthN service. Currently for FIDO implementation in a Mojaloop switch.
git clone git@github.com:mojaloop/AuthService.gitAdd the 127.0.0.1 auth-service.local entry in your /etc/hosts so the auth-service is reachable on http://auth-service.local:4004. Elsewhere use http://localhost:4004
cd auth-service
npm cinpm run docker:build
npm run docker:runTo check the auth-service health visit http://auth-service.local:4004/health
docker-compose up -d mysql
npm run migrate
npm run startWe use multi-file-swagger to make our swagger files more manageable.
After making changes to the .yaml files in ./src/interface/, update the swagger.json file like so:
npm run build:openapiNote: We will likely want to move to swagger 3.0 at some point, and once we do, we will be able to use the common api snippets library to factor out common Mojaloop snippets. Keep track of #352 - Update to OpenAPI v3