# JWT Token Generator

Because nimbus uses AWS Cognito as its OAuth provider, it is non-trivial to generate login tokens. Hence we created a simple tool that will allow you to generate the tokens.&#x20;

The tool is available at the following Repo:

{% embed url="<https://github.com/aegion-dynamic/jwt-token-printer>" %}

## Installation

```sh
git clone https://github.com/aegion-dynamic/jwt-token-printer
cd jwt-token-printer
go install .
```

## Generation

```sh
jwt-token-printer
```

## References

{% embed url="<https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-authentication-flow.html>" %}

{% embed url="<https://www.digitalocean.com/community/tutorials/an-introduction-to-oauth-2>" %}
