David Kimura PRO said almost 7 years ago on Rails API - Authentication with JWT :

What error are you receiving?