Logic nodes · Preview

JWT Role Guard

Plan a reusable guard that checks JWT credentials and roles before a protected backend action.

What this preview covers

Token validation, role checks, permission rules, and protected request context.

Use this page to evaluate the workflow and plan how it could fit your project. Marketplace cloning is not open yet; the steps below describe an example to review when access becomes available.

Example workflow

  1. Read the token from the request's authentication context.
  2. Validate its signature, expiry, and required permissions.
  3. Pass the authenticated context to the next action or return an access error.

Before you connect it

  • Define the trusted issuer, audience, and signing configuration.
  • Map role names to your application's permission rules.
  • Test missing tokens, expired tokens, and authenticated users without permission.

When cloning becomes available, review the cloned node, confirm framework and integration compatibility, and test it with development data before using it in a live project.

Build with Avora