directus-extension-webhook-authentication
Version:
Directus Flows Operation to check webhook authorization
24 lines (15 loc) • 1.3 kB
Markdown
This bundle contains 2 operations aimed at helping provide explicit authentication to Directus Flows using the WebHook trigger.
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.


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.

