See the main README for general information.
Generates/mints a JWT and prints it to shell’s standard output.
-
Open
jwt/java/generate
-
Open the
launch.json
file under.vscode
-
Edit the
args
entry-
Supply the path to your private key, stored in PEM format
-
Replace
<issuer_id>
with your issuer id, from the Yodlee dashboard -
For user tokens, replace
[-u <username>]
with-u
and a username.
-
-
Run/debug using the
Launch Generate
configuration.
Using Maven:
-
Compile
$ mvn compile
-
Run
mvn exec:java -Dexec.args="-k /path/to/your/private_key.pem -i <issuer_id> [-u <username>]"
-
Example
mvn exec:java -Dexec.args="-k /home/secured/private_key.pem -i f4d3dc80-885cbe1f-5f2b-4c74-0097-39dc59ae751c -u sbMem5c758c42bb1d12"
-
Java JDK version >= 8
-
FusionAuth JWT version >= 3.1.3
-
JOpt Simple version >= 5.0.4