-
Notifications
You must be signed in to change notification settings - Fork 3
Getting an authorization token
Bria Morgan edited this page Oct 12, 2018
·
2 revisions
If you are a developer and know your secret, you can generate a token using the jwt-creator.
- Clone the repository
- Build the project by executing
mvn clean install
in the root directory. cd target/
- Create a text file containing only the secret in it.
java -jar generateJwt.jar [\path\to\secret\text] [user_id_claim (usually 'email')] [user email or id] [time until token expiration]
TODO: How do users get a token?