Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6080621
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:04:57+00:00 2026-05-23T11:04:57+00:00

PS:- please dont say use this devise, omniauth or any other plugin/gem you know.

  • 0

PS:- please dont say use this devise, omniauth or any other plugin/gem you know.

I am looking for some example code for google login using authlogic for ruby on rails 3.

Here is what i have tried/checked:-

  • authlogic-google-account-oauth — This is sample code for twitter, not google (One of the top rated google result. )
  • http://www.manu-j.com/blog/add-google-oauth-ruby-on-rails-sites/214/ –> generating keys for google login? There was nothing like this while implementing facebook / twitter or linkedin login. All I need is secret key and application id from the respective sites.
  • Tons of links on stackoverflow, No-one is giving the solution just recommending other gems/ outdated blog posts like

    Ruby on Rails: Best way to add Facebook login, Twitter login, OpenID login, etc

    Configuring authlogic-oauth with google and many more.

Anybody knows any running example/ sample code for google login with authlogic in rail 3

EDIT

Have you noticed these warnings, this is from your code. The code you provided is running on my local machine:–

 Attempting discovery to verify endpoint
 Performing discovery on https://www.google.com/accounts /o8/id?id=AItOawlFBZciVpNUBSlYbz0wHzTgmJWu9PpCvyk
  WARNING: making https request to https://www.google.com/accounts/o8/id?id=AItOawlFBZciVpNUBSlYbz0wHzTgmJWu9PpCvyk without verifying server certificate; no CA path was specified.
  Using 'check_authentication' with https://www.google.com/accounts/o8/ud
WARNING: making https request to https://www.google.com/accounts/o8/ud without verifying server certificate; no CA path was specified.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T11:04:58+00:00Added an answer on May 23, 2026 at 11:04 am

    You inspired me to hack away at this.

    This blog basically worked for me http://blog.sethladd.com/2010/09/ruby-rails-openid-and-google.html

    My code is extra ugly though, because it wasn’t the first one I tried.
    Other resources:

    Ruby open_id_authentication with Google OpenID

    http://toddsedano.blogspot.com/search?updated-max=2010-05-29T11%3A59%3A00-07%3A00&max-results=7

    http://railscasts.com/episodes/170-openid-with-authlogic

    Anywho, the rough code that is working for me is here:
    https://github.com/softwaregravy/google_authlogic
    and here is the running code

    It’s still very much a prototype. Hope it helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

how can i create an singleton asmx webservice ? (please don't say use WCF
Now, I know this is completely subjective, so please don't flame me. I've never
Let's say that you are limited to use only this syntax (you can't use
Note to other potential contributors: Please don't hesitate to use abstract or mathematical notations
I apologise for the length, and I know there are some answers on this
Ive decided that I really dont like microsoft and their ways. Please could you
Please don't crucify me for this one. I decided it might be good to
I know that there are several very similarly-related questions on this website, however after
I am not using a tab bar or any other control -- I want
I wanted to know what various guidelines state about the usage of this. Sometimes

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.