Giter Site home page Giter Site logo

Comments (6)

pacifists avatar pacifists commented on June 14, 2024

Well I supose that is a "feature" not a bug, but then the documentation should be improved.

Now it says: Some hooks are available to get the RPXNow user data objects before or after the connection.

After looking deeper into gem code I've found that those hooks are executed only when creating new user not on "every connection" to rpx, so either it should do what I believe says in the docs or the wording needs to be changed.

from devise_rpx_connectable.

nicolasblanco avatar nicolasblanco commented on June 14, 2024

Thanks, you are right!
I will update this very soon by adding new callbacks.

from devise_rpx_connectable.

pacifists avatar pacifists commented on June 14, 2024

I've started pondering with this again and by trial and error found out that the callbacks that are shown in the docs don't work. Only if methods on_before_rpx_connect and on_after_rpx_connect are present in the model then they're called, but simple methods with no "on_" never got called. Also I've got invalid rpx when tried using after method. So just you know if you'll try to change/fix something

from devise_rpx_connectable.

nicolasblanco avatar nicolasblanco commented on June 14, 2024

yep.
i've worked on this friday and i'll finish the next version monday.

from devise_rpx_connectable.

nicolasblanco avatar nicolasblanco commented on June 14, 2024

OK. That should be fixed! Please test the latest version with the two new hooks (see in README).

from devise_rpx_connectable.

pacifists avatar pacifists commented on June 14, 2024

I've come around to my app that used rpx just now, but like a week ago I've found omniauth gem so won't be able to test if this works.
I've dropped rpx and went with pure devise + omniauth, because it's so much more better and gives all control I need in my app.

from devise_rpx_connectable.

Related Issues (15)

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.