Skip to content

certisecure/dify-plugin-jwt

 
 

Repository files navigation

JWT

Author: bowenliang123

Github Repository: https://github.com/bowenliang123/dify-plugin-jwt

Dify Marketplace: https://marketplace.dify.ai/plugins/bowenliang123/jwt

Description

This plugin provides tools to encode and decode JSON Web Token (JWT) as defined in RFC 7519.

JSON Web Token (JWT) is an open standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information between parties as a JSON object. This information can be verified and trusted because it is digitally signed. JWTs can be signed using a secret (with the HMAC algorithm) or a public/private key pair using RSA or ECDSA.

As using the PyJWT library for implementation, this plugin supports the following algorithms: HS256, RS256, PS256, EdDSA, ES256.

For further usage in the combination of algorithm and keys, please refer PyJWT's usage docs.

Usage

  • JWT Encoder

  • JWT Decoder

When the option Extract headers to _headers field is set to Yes, the headers are extracted from JWT and will be put into _header field of the output JSON object.

About

A Dify plugin to encode and decode JWT (JSON Web Token).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%