I have recently published an article that explains how to build an authentication system in Rails API using only JWT.

Hope you like it.

Sitepoint Link