David Kimura PRO said over 5 years ago on Rails API App - Authentication with JSON Web Tokens :
See if this episode helps out. It uses `devise` and the `knock` gem for JWT authentication. https://www.driftingruby.com/episodes/rails-api-authentication-with-jwt