@userhub/auth0-actions

v0.3.0
Auth0 action helpers

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);
};
npm i @userhub/auth0-actions

Metadata

  • MIT
  • ^18.0.0 || >=20.0.0
  • UserHub
  • released 10/2/2024

Downloads