@userhub/auth0-actions
v0.3.0
Published
Auth0 action helpers
Downloads
2
Readme
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);
};