Code Monkey home page Code Monkey logo

Comments (8)

sent-hil avatar sent-hil commented on August 16, 2024

"rails/open_id_authentication plugin has been updated a few days ago and it breaks compatibility with the authlogic_openid gem (v=1.0.4)."
http://stackoverflow.com/questions/2092694/authlogic-openid-error-uninitialized-constant-openidauthenticationinvalidopeni

from authlogic_openid.

DBA avatar DBA commented on August 16, 2024

Since my original post I've downloaded the gem's source code and tried to fix the problem.

rails/open_id_authentication plugin has been massively updated over the months, without any updates to this gem. At the moment, in my source code, the problem is that in the User.save method I call the class controller's authenticate with open id but never receive the callback with the result.

If I use the rails plugin directly everything works fine and I receive the user's information in the registration hash.

from authlogic_openid.

sent-hil avatar sent-hil commented on August 16, 2024

After trying to make it work for an hour, I found a old version of plugin and cloned it. It works fine now. Guess that will have to do till Ben updates this gem.

from authlogic_openid.

DBA avatar DBA commented on August 16, 2024

The version it's ment to work with can be found in the gem's test/lib directory, if that's what you're looking for.

I've managed to get past the no callback issue. Apparently, this line was preventing the OpenID callback from happening:
options[:return_to] = session_class.controller.url_for(:for_model => "1",:controller=>"users",:action=>"create")

Still wondering what's that :for_model => "1"

from authlogic_openid.

abelta avatar abelta commented on August 16, 2024

I would like to know if this problem will be fixed soon or if there's a way to set up my rails application so that it can be easily configured in the environment?

from authlogic_openid.

giggo avatar giggo commented on August 16, 2024

Will this be fixed in authlogic-oid or in open_id_authentication?

from authlogic_openid.

glebm avatar glebm commented on August 16, 2024

Any news on when it's gonna be fixed? We hacked around it by mixing the new and the old version of the open_id_authentication, but that should not go onto production

from authlogic_openid.

mreinsch avatar mreinsch commented on August 16, 2024

I resolved that issue with mreinsch/authlogic_openid@9b802c3

from authlogic_openid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.