πππππππππππππSet-Upππππππππππππππ
We have detailed video tutorials for each of the actions/elements we have in this plugin. Watch them to understand and use it at ease.
ππππππππππInstalling the Pluginππππππππππ
β Log in to your Bubble account
β Go to Plugins
β Search for βGenerate JWT by Ritz7β
β Install the plugin
πππππππππππUsing the Pluginπππππππππππ
ππ Actions ππ
β½ Generate JWT Token
β Inputs:
β» Secret Key: A secret key (or βprivate keyβ) has to be used to encrypt or decrypt a piece of information.
β» Payload: It is the piece of information that will be encrypted to a JWT token. Format of the payload should be - { "id": 1, "name": "abc" }.
β» Expires in: It is the date of expiration of the JWT token i.e. the date till JWT token will be valid. Ex - Eg: 60, "2 days", "10h", "7d".
β» Algorithm: It is a digital signature which will help encrypt the payload in a certain way. Ex - HS256, HS384, HS512 etc.
β Outputs:
β» JWT Token received.
βΈ Watch the video for the above action here:
https://www.youtube.com/watch?v=GfpAecPLcpc