authlogic_oauth icon indicating copy to clipboard operation
authlogic_oauth copied to clipboard

Could not find user issue

Open mleung opened this issue 15 years ago • 3 comments

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.

mleung avatar Nov 09 '09 20:11 mleung

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.

atrophic avatar Dec 08 '09 05:12 atrophic

+1

MSchmidt avatar Dec 14 '09 04:12 MSchmidt

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.

atrophic avatar Dec 14 '09 04:12 atrophic