here is the reference to stackoverflow

I am not able to receive the access token and client in auth/sign_in api
given by devise_token_auth gem

My app was working properly before integrating the omniauth gem. The
issue started coming after integrating the omniauth gem.


Rails.application.config.session_store :active_record_store, key:

Application controller.rb

class ApplicationController < ActionController::Base
   include DeviseTokenAuth::Concerns::SetUserByToken
   layout false
   before_filter :configure_permitted_parameters, if: :devise_controller?
   before_filter :load_client
   protect_from_forgery with: :null_session, if: { |c|
c.request.format == 'application/json' }
   skip_before_filter :verify_authenticity_token, :if => { |c|
c.request.format == 'application/json' }
   helper_method :current_user

devise_token_auth version 0.1.30
rails version 4.1.8

Posted via

You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
To view this discussion on the web visit
For more options, visit

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
grouprubyonrails-talk @
postedJun 18, '16 at 10:27a
activeJun 18, '16 at 10:27a

1 user in discussion

Rohan Jain: 1 post



site design / logo © 2021 Grokbase