An open API service indexing awesome lists of open source software.

https://github.com/safe-global/safe-auth-service

Login for JWT tokens to use across Safe Services (following ERC-4361)
https://github.com/safe-global/safe-auth-service

Last synced: 12 months ago
JSON representation

Login for JWT tokens to use across Safe Services (following ERC-4361)

Awesome Lists containing this project

README

          

[![Python CI](https://github.com/safe-global/safe-auth-service/actions/workflows/ci.yml/badge.svg)](https://github.com/safe-global/safe-auth-service/actions/workflows/ci.yml)
[![Coverage Status](https://coveralls.io/repos/github/safe-global/safe-auth-service/badge.svg?branch=main)](https://coveralls.io/github/safe-global/safe-auth-service?branch=main)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)
![Python 3.12](https://img.shields.io/badge/Python-3.12-blue.svg)
[![Docker Image Version (latest semver)](https://img.shields.io/docker/v/safeglobal/safe-auth-service?label=Docker&sort=semver)](https://hub.docker.com/r/safeglobal/safe-auth-service)

# Safe Auth Service
Grants JWT tokens to be used across the Safe Core{API} infrastructure. It supports ERC-4361 authentication.

## Configuration
```bash
cp .env.sample .env
```

## Execution

```bash
docker compose build
docker compose up
```

Then go to http://localhost:8888 to see the service documentation.

## Setup for development
Use a virtualenv if possible:

```bash
python -m venv venv
```

Then enter the virtualenv and install the dependencies:

```bash
source venv/bin/activate
pip install -r requirements/dev.txt
pre-commit install -f
cp .env.sample .env
```

## Contributors
[See contributors](https://github.com/safe-global/safe-auth-service/graphs/contributors)