1

I am creating a new SPA with a REST API and for the backend I am using Rails with devise_token_auth. I am new to token authentication and while searching I am seeing a lot of libraries for frontend libraries that support JWT but I can't tell if this is compatible with devise_token_auth.

Is JWT the standard for web tokens and is it what devise_token_auth uses?

Qwertie
  • 5,784
  • 12
  • 45
  • 89

1 Answers1

5

No, devise_token_auth gem doesn't use JWT.

It authenticates a user by validating the client-id, access-token & UID and processes the request. All these keys are received during a successful login.

Abhilash Reddy
  • 1,499
  • 1
  • 12
  • 24