Comments (6)
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.
Thanks, you are right!
I will update this very soon by adding new callbacks.
from devise_rpx_connectable.
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.
yep.
i've worked on this friday and i'll finish the next version monday.
from devise_rpx_connectable.
OK. That should be fixed! Please test the latest version with the two new hooks (see in README).
from devise_rpx_connectable.
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)
- ActionController::InvalidAuthenticityToken in Devise/sessionsController#create HOT 3
- more info than rpx_invalid? HOT 5
- Storing additional user data in devise user model HOT 3
- Making it possible to add language_preference to iframe src HOT 1
- Not loading at first? HOT 1
- twitter not save email HOT 2
- Handle RPX multiple accounts mapping?
- forgot password HOT 1
- Not able to login through facebook and google using same email HOT 8
- Sign in with email used as rpx log in raises error HOT 6
- The edit has a password field mandatory HOT 2
- weird testing issue HOT 1
- Violate validations HOT 3
- Before hooks not allowing registration or login HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devise_rpx_connectable.