@userhub/auth0-actions
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

Auth0 Action Library

Helper functions for the UserHub Auth0 connection.

Usage

const { UserHubActions } = require("@userhub/auth0-actions");

exports.onExecutePostLogin = async (event) => {
  const actions = new UserHubActions({
    apiKey: event.secrets.USERHUB_API_KEY,
    connectionId: event.secrets.USERHUB_CONNECTION_ID,
  });

  await actions.postLogin(event);
};

Readme

Keywords

none

Package Sidebar

Install

npm i @userhub/auth0-actions

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

16.2 kB

Total Files

8

Last publish

Collaborators

  • userhub-bot
  • silas