Skip to content

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.

  1. Clone the repository
  2. Build the project by executing mvn clean install in the root directory.
  3. cd target/
  4. Create a text file containing only the secret in it.
  5. 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?