Add this line to your application's Gemfile:

gem 'jwt_me'

And then execute:

$ bundle

Or install it yourself as:

$ gem install jwt_me

An example session could look like this:

$ jwt_me

Starting with JWT token generation.

Enter key 1

$ user_id

Enter user_id value

$ 12312

Enter key 2

$ email

Enter email value

$ something

Invalid Host/Domain Name

$ [email protected]

Any additional inputs? (yes/no) $ no The JWT has been copied to your clipboard!

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/bodikqlar/jwt_me. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.