Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
current_user is nil:NilClass after Google open_id callback
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Pedr  
View profile  
 More options Jan 25, 6:29 am
From: Pedr <pedr.bro...@gmail.com>
Date: Wed, 25 Jan 2012 03:29:47 -0800 (PST)
Local: Wed, Jan 25 2012 6:29 am
Subject: current_user is nil:NilClass after Google open_id callback
Hello,

I am handling callbacks in my omniauth_callbacks_controller and I'm
successfully handling callbacks from Facebook and Twitter and can
access current_user in their respective callbacks. However when I
receive a callback from Google/open_id, current_user is nil:NilClass.
I am getting Omniauth data passed to the callback OK, but with a Nil
current_user I can't handle it.

My open_id setup looks like this:

require 'openid/store/filesystem'
config.omniauth :open_id, :store => OpenID::Store::Filesystem.new('/
tmp'), :name => 'google', :identifier => 'https://www.google.com/
accounts/o8/id', :require => 'omniauth-openid'

What could be casuing this?

Thanks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Guilherme Simões  
View profile  
 More options Feb 10, 2:55 pm
From: Guilherme Simões <guilherme.rd...@gmail.com>
Date: Fri, 10 Feb 2012 11:55:54 -0800 (PST)
Local: Fri, Feb 10 2012 2:55 pm
Subject: Re: current_user is nil:NilClass after Google open_id callback
I had this working before but I am now facing exactly the same problem
as you are. I'm using Devise and Omniauth gems and Facebook and
Twitter authentications are working but now Google authentication
isn't. Have you found the solution to this problem?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »