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 1048867
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T16:31:33+00:00 2026-05-16T16:31:33+00:00

Everything seems to be working fine with my implementation of Facebooker with Authlogic (using

  • 0

Everything seems to be working fine with my implementation of Facebooker with Authlogic (using the authlogic_facebook_connect plugin) except for one thing.

After the initial authorization of the application (by clicking OK on the Facebook pop-up) I still remain on the login page. There is no redirection. However, once I refresh the login page and then click the Facebook button again, there is no popup because it is already authorized by Facebook, instead it redirects to /user_session (for authentication via Facebook session) automatically and immediately takes me to the dashboard page as expected.

Additional Information:

Any idea why it doesn’t redirect on the very first click, right after authorizing Facebook? The post-authorize URL is set for http:///user_session/ and the routes for authlogic are set properly.

I have tried with Prototype and jQuery, both give the same results.

You can see the same issue on this tutorial website if you try to authenticate with Facebook. This website is not mine so try at your own risk:
http://facebooker.pjkh.com

Thanks.

  • 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-16T16:31:34+00:00Added an answer on May 16, 2026 at 4:31 pm

    Also having the same issue here. I think the reason it was doing nothing for me, using jquery, is the code generated by

    <%= authlogic_facebook_login_button :controller => 'customer_session' %>
    

    which is something like

      <form id='connect_to_facebook_form' method='post' action='/customer_session'>
        <input type='hidden' name='authenticity_token' value='keLV8CIfc5znsRkjhkjhkjhkjhkjh='/>
      </form>
      <script type='text/javascript' charset='utf-8'>
        function connect_to_facebook() {
          $('connect_to_facebook_form').submit();
        }
      </script>
      <fb:login-button js="prototype" onlogin="connect_to_facebook()"></fb:login-button>
    

    the jquery to submit the form is wrong it should be

    $('#connect_to_facebook_form').submit();
    

    (duh, because I did not pass in :js => :jquery)

    but if I fix that I still get

    1 error prohibited this customer
    session from being saved

    There were problems with the following
    fields:

    * You did not provide any details for authentication
    

    so the right details are not being injected into the form I guess

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

Sidebar

Related Questions

I've installed RESTFUL authentication and everything seems to be working fine. i can signup
An SVN question. Everything seems to be working fine, svn supports 4 servers, an
I am using Server Side processing of DataTables . Everything seems to be working
I'm trying to re-install a DLL in the GAC, everything seems to work fine
I'm using Elmah to log exceptions for my website, everything seems to be all
I am creating a horizontal scroll site. Don't hate! Everything seems to be working
I'm developing a WPF Prism application, and everything is working fine. My view models
Update and Solution I finally got everything working after 1. Uninstalling everything ruby-related in
Weird one this, Both my Java and C code seem to be working fine.
I implemented OpenID support for an ASP.Net 2.0 web application and everything seems to

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.