The following code snippet showcase an example of how you can construct JWT tokens that the Leadfamly platform will understand. JWT example is written in PHP.
- Clone repo
- Run
composer install
- Run
php jwt_example.php
& view output.
Private & public key is only there as an example. You should when deploying this solution generate your own private/public key pair.