-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Neo4j.rb support? #98
Comments
Hi @subvertallchris, If the adapter in 5c04e13 works well; what do you think about authoring your own commit so I can cherry-pick it to add Neo4j support? That would be a good way to keep credit where it is due I think ; ) |
Note: the gem should depend on |
Just tried it out. When I swap my branch for this commit, I get:
I guess I need to do something to register Neo4j as an adapter? |
I replied in the "adapter" thread because the code of the initializaer was there. |
TL;DR: If you're a Neo4j user and would like to use it with Simple Token Authentication, please let me know here. (An adapter was written quite a while ago, but I didn't receive enough feedback to release it so far.) |
Right now, changing
ActiveRecord::Base.send :include, SimpleTokenAuthentication::ActsAsTokenAuthenticatable
toNeo4j::ActiveNode.send :include, SimpleTokenAuthentication::ActsAsTokenAuthenticatable
does the trick. Also requires Devise 3.3.0.The text was updated successfully, but these errors were encountered: