@userhub/auth0-actions

v0.1.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/[email protected]

Metadata

  • MIT
  • Whatever
  • UserHub
  • released 6/14/2023

Downloads