Json Web token - JWT Generator

Demo to preview the plugin:

Introduction

This plugin has been recently acquired by Zeroqode - please bear with us while we review the code and make improvements/fixes where necessary.
This plugin allows you generate Json Web Tokens (JWTs) within your Bubble application.
These are often used to authenticate with third party applications/APIs.
The plugin runs on the server an allows you to generate and sign JWTs for the following algorithms: HS256, HS384, HS512, RS256, RS384, RS512, ES256, ES384, ES512
You can set the payload of the JWT, the expiration time, time before it becomes valid and the secret key to sign the JWT.
For the RSA and ECDSA algorithm you will have to use an encoded private key. You also have access to the "Verify JWT" action which allows you to decode and check the validity of a JWT.
Usage Features:
  • Generate and sign JWTs using various algorithms like HS256, RS512, ES256, and more directly within your Bubble application
  • Set custom payloads, expiration, and validation windows to tailor token behavior to your app’s authentication flow
  • Choose from symmetric (HS) or asymmetric (RS/ECDSA) algorithms — including support for encoded private keys
  • Verify tokens with built-in JWT validation, allowing you to decode and check token authenticity inside workflows
  • Use for secure API communication, external service authentication, or encrypted user session handling
  • Lightweight and secure, fully executed on the server for enhanced protection and performance
  • Flexible integration into any Bubble app, supporting complex auth flows and external system interoperability
  • Maintained by Zeroqode, with improvements and refinements expected for long-term support
Image without caption

How to setup

  1. Generate a JWT
      • Go to the Workflow tab.
      • Add an action → Plugins → Generate A JWT.
      • Enter:
        • Payload → e.g. { "userId": 123 }
        • Secret → your secret key
      • Save the JWT token result for use in API calls or storage.
        • Workflow → Generate a JWT.
          Workflow → Generate a JWT.
  1. Verify a JWT
      • Go to the Workflow tab.
      • Add an action → Plugins → Verify JWT.
      • Enter:
        • Token → the JWT string you want to verify
        • Secret → your secret key
      • Use the returned decoded payload as needed.
        • Workflow → Verify JWT.
          Workflow → Verify JWT.
  1. Generate a JWT With Expiration and Not Before Time
      • Go to the Workflow tab.
      • Add an action → Plugins → Generate A JWT With Expiration And Not Before Time.
      • Enter:
        • Payload
        • Secret → your secret key
        • Expiration Time (seconds)
        • Not Before Time (seconds)
      • Use the generated token wherever needed.
        • Workflow → JWT With Expiration and Not Before Time.
          Workflow → JWT With Expiration and Not Before Time.
  1. Generate a JWT With Timestamp
      • Go to the Workflow tab.
      • Add an action → Plugins → Generate A JWT With Timestamp.
      • Enter:
        • Payload → your JSON data (timestamp will be added automatically)
        • Secret → your secret key
      • Save or use the JWT token that includes a timestamp.
        • Workflow → JWT With Timestamp.
          Workflow → JWT With Timestamp.

Plugin Actions

Generate a JWT

Verify JWT

Generate a JWT with Expiration and not before time

Generate a JWT with Timestamp

Image without caption

Changelogs