The devise-api gem is a convenient way to add authentication to your Ruby on Rails application using the devise gem. It provides support for access tokens and refresh tokens, which allow you to authenticate API requests and keep the user's session active for a longer period of time on the client side
MIT License
152
stars
22
forks
source link
AbstractController::ActionNotFound: The action 'sign_in' could not be found #19
After defining a customized controller for
TokensController
like the below:And setting the route to the new controller:
Then it cannot find the sign_in method:
But other routes work fine (users/tokens/info, users/tokens/revoke, etc.).
Could you help with that?