localstack-extension-authress

LocalStack Extension: Authress


Keywords
Authorization, as, a, service, Security, authentication, user, Authress, client, access, management, localstack, extensions, verified, permissions, open, source, policy, engine, embedded, batteries, included, api, container, offline, sdk
License
AGPL-3.0
Install
pip install localstack-extension-authress==0.1.23

Documentation

Authress Media Banner

Authress Local

Authress Local provides a local running version of an Authorization API in a container. Use Docker, Podman, Nomad or another container management solution to run authorization and authentication directly on your localhost.

Authress local stands up an API that offers parity with the Authress Authorization API. You can use Authress local to build authentication and authorization directly into your applications and services.

Additionally, Authress local is great way to develop with Authress without needing to have an Authress account.


Documentation

Usage

Run the container locally:

Docker

docker pull authress/authress-local:latest
docker run -d -p 8888:8888 authress/authress-local:latest
# Run in terminal: docker run -d -p 8888:8888 authress/authress-local:latest

Podman

podman pull ghcr.io/authress/authress-local:latest
podman run -d -p 8888:8888 authress/authress-local:latest
# Run in terminal: podman run -d -p 8888:8888 authress/authress-local:latest

This will run the container locally on port 8888, if you want to run the container on a different port, change the 8888 to another port number.

The api for the running container matches the API at Authress APi.

An example API request to check a user's authorization is:

curl localhost:8888/v1/users/USER/resources/RESOURCE/permissions/PERMISSION

Where USER would be the user, RESOURCE is the resource uri,and the PERMISSION is the permission. Authress recommends using one of the many SDKs to connect instead. If you are interested in already working starter kits for various languages check out the Authress starter kits, they are listed by language.

Contributing to Authress Local

Want to contribute to Authress local, check out the Contribution and Development Guide