LocalStack Extension: Authress
Project description
LocalStack Extension for Authress Authentication and Authorization
This is the LocalStack extension that enables running authentication, user identity, permissions, api key management, and access control in your LocalStack environment via Authress.
This LocalStack extension generates a copy of the Authress API so that the authentication and access management the Authress API provides can be utilized by running services directly in any environment. You can use this to build authentication and authorization directly into your applications and services. Additionally, this extension can be used locally to develop faster without needing an Authress Account.
Installation
To install the Authentication & Authorization extension into LocalStack, run
localstack extensions install localstack-extension-authress
Usage
- Start LocalStack if it isn't started already. You can do this by running:
ACTIVATE_PRO=1 LOCALSTACK_AUTH_TOKEN="LOCALSTACK_AUTH_TOKEN" EXTENSION_DEV_MODE=1 DEBUG=1 localstack start
If you run into any issues doing that, check out the Troubleshooting Guide.
The auth extension runs at http://authress.localhost.localstack.cloud:4566
.
You can configure API calls to the authorization server by passing this url as the authressApiUrl
or the authress_api_url
depending on which SDK you are using.
import { AuthressClient } from 'authress-sdk';
const authressClient = new AuthressClient({ authressApiUrl: `http://authress.localhost.localstack.cloud:4566` });
await authressClient.userPermissions.authorizeUser(userId, resourceUri, permission);
Knowledge Base
Review the in depth guides in the Authress Local KB.
Contribution Guide
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file localstack_extension_authress-0.1.24.tar.gz
.
File metadata
- Download URL: localstack_extension_authress-0.1.24.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b21143290b1259c311d7981603bb9dd1ab610d1da6b9d990a8b0bdf06d7a21f8 |
|
MD5 | da97707956ac9e25d2b9726dc056786f |
|
BLAKE2b-256 | 94cf1ee68949789e71b5b80bb607159f51ffc6911804946b6430f3db9f55fce1 |
File details
Details for the file localstack_extension_authress-0.1.24-py3-none-any.whl
.
File metadata
- Download URL: localstack_extension_authress-0.1.24-py3-none-any.whl
- Upload date:
- Size: 17.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ada4c23699dcab558639a0db4ee92870d9e7a56d68ba0616edad23c581c096c7 |
|
MD5 | 586fe0445dc65373296747c2a98598e3 |
|
BLAKE2b-256 | 2abf42c4fca858492f754b630f2c0f573296469ee32780c01e1694a2828a4cde |