0.2.0 • Published 7 months ago

@userhub/auth0-actions v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

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);
};
0.2.0

7 months ago

0.1.0

11 months ago