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

  • Home
  • SEARCH
  • 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 6678223
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:13:01+00:00 2026-05-26T04:13:01+00:00

I tried to follow https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview , but somehow when I look at the generated

  • 0

I tried to follow https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview, but somehow when I look at the generated routes I only see the callback path, and not the authorization path (and indeed I get the error on the view with the user_omniauth_authorize_path link).

I assume it might be a versions issue of OmniAuth and Devise (since after 0.2.0.beta Omniath allows configurable setting, and the routes must be defined). However, when trying to use an older OmniAuth version I get the error “You are using an old OmniAuth version, please ensure 0.2.0.beta or later installed.“.

I tried working with Devise’s master, 1.2.rc and the the omniauth branch and with both the entire omniauth gem (after 0.2.0.beta) and with ‘oa-oauth’ but without success.
I also tried to define the route:

match '/users/auth/:action/', :to => 'users/omniauth_callbacks#action', :as => 'user_omniauth_authorize'

This helped with the route, but when pressing the link I did get the error that devise cannot find a mapping. Funny enough, changing the controller in the devise_for to be invalid (like adding ‘/’ before the users/omniauth_callbacks) resulted in an error the first time (“Controller name should not start with a slash”), but a small reload actually sent me to facebook and back (but naturally the callback route was not defined).

I am new to Ruby, and not quite sure where I go from here. Any help will be appreciated.

  • 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-26T04:13:02+00:00Added an answer on May 26, 2026 at 4:13 am

    My problem was due to different versions of omniauth and devise. What finally worked was using this configuration in my gemfile:

    gem 'devise', :git => 'git://github.com/plataformatec/devise.git'
    gem 'omniauth', '>=0.2.0.beta'
    gem 'oa-oauth', :require => 'omniauth/oauth'
    

    you can see more details about my implementation here.

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

Sidebar

Related Questions

I recently forked https://github.com/fortuity/rails3-mongoid-omniauth and tried to get login working for different providers. It
I tried to follow the UsingTheJRubyDebugger instructions on the jruby wiki. (kenai.com/projects/jruby/pages/UsingTheJRubyDebugger). I got
I tried to follow this instruction: http://wiki.phonegap.com/w/page/16494774/Getting-started-with-Android-PhoneGap-in-Eclipse I can run the example but when
I tried to follow this but the default modelbinder let my array null on
The complete code is on https://gist.github.com/1341623 I'd like to sort an index array (or
I think i follow instruction from this site very carefully http://source.android.com/source/downloading.html but when i
I tried to follow this tutorial but couldn't find File entry in properties windows.
I'm new to Clojure and I'm wanting to use Clojure core.match: https://github.com/clojure/core.match I've setup
I just got out of a small project and I've tried to follow a
I want to tail multiple files (and follow them) in CentOS, I've tried this:

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.