https://medium.com/@benedykt.tyminski/setting-up-jwt-authentication-with-refresh-tokens-in-a-rails-api-f24756d22dc9