authlogic_oauth
authlogic_oauth copied to clipboard
Could not find user issue
I'm getting the following error when trying to log in using authlogic_oauth and twitter:
1 error prohibited this user session from being saved
There were problems with the following fields:
Could not find user in our database, have you registered with your oauth account?
Shouldn't this work like facebook connect, and create the account in the users table when it successfully comes back from twitter? I could just be missing something obvious. Thanks for any insight.
The example given requires registration first, then logins will work. I too wish it behaved as you described and am trying to no avail to get it to work as such. Any tips from anybody on how to do so would be appreciated.
+1
I ended up going with a much more simple authentication setup (and sacrificing the flexibility that authlogic offers in the process, which is okay for my use). Twitter-auth was a breeze to set up and doesn't differentiate between register and login.
I'm still hoping to come back to authlogic eventually, as it'd be nice to offer more auth methods than just twitter.