directus-extension-webhook-authentication

1.0.0 • Public • Published

Directus WebHook (Flow) Authentication Operations

This bundle contains 2 operations aimed at helping provide explicit authentication to Directus Flows using the WebHook trigger.

1. Check Authentication Operation

This operation allows you to check for a certain level of authentication:

  • Admin Only
  • Users and Admins
  • Public (just remove the operation instead of picking this!)

This operation will return true if authenticated or throw an error otherwise.

Check Auth Config Check Auth Operation

2. Check Permissions Operation

This operation allows you to check for the read permissions of a selected collection. This operation will return true if the user has the correct permissions or throw an error otherwise.

Check Perms Config Check Perms Operation

Package Sidebar

Install

npm i directus-extension-webhook-authentication

Weekly Downloads

5

Version

1.0.0

License

MIT

Unpacked Size

5.24 kB

Total Files

5

Last publish

Collaborators

  • brainslug