I am using 'devise_token_auth' gem with mongo backend and when I try to check if token is valid with valid_token?(access_token,client) : it returns True no matter what the access_token is. Please guide me through this.
*note: If I enter wrong client then it returns false but never returns false for wrong 'access-token'.