Skip to main content

LocalStack Extension: Authress

Project description

Authress logo Partnership LocalStack logo

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

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

Developing for the LocalStack Authress Extension

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

localstack-extension-authress-0.1.23.tar.gz (17.0 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page