Setting up devise_token_auth.
Keep running in to issues in the source code.
Ex:
def token_validation_response
as_json(except: %i[tokens created_at updated_at])
end
It will be called from:
SessionsController::create
> render_create_success
> token_validation_response
It is my understanding that you need to get the token to the client and store it on the client side and send it with each request.
I am not sure how this is supposed to work if we do not give the token to the client and except
it.
except: %i[tokens created_at updated_at]