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
No rows are inserted in oauth_identities #27
Comments
Hey! Not sure what the problem could be... Could you check out this walkthrough video I put together, and see what might be different about your setup vs. what I put together? Are you on Laravel 4 or 5? |
I'm on laravel 5. I've been checking my user model and it's like the default one that laravel ships. My problem, is when I got redirected back, system performs a select in DB select * from and performs it with the data google returns, and then, tries to create the user, but with no data, because nothing is ever stored in oauth_identities insert into If I catch that exception and store that info, the systems works perfectly. Installing adamwathan/eloquent-oauth (dev-laravel-5 daca55b) |
What database are you using? I'm guessing the issue is you need to make the The entry to The first select is performed to see if the user already exists, if they don't create a new user, then save an OAuthIdentity for that new user. |
I see, that's exactly my problem. |
No prob glad I could help! :) |
Hello! I have a problem with using both linkedin and facebook for one user... db insert fails.. is it possible to solve it somehow? |
You mean using LinkedIn and Facebook for the same person and trying to make it one account? That isn't supported at the moment, maybe in the future. See this issue: #19 |
I'm using the package in laravel 5 and I'm facing an issue. I manage to be redirected to Facebook, and being redirected back to my app, and using the closure I can see the details of the user, but I cannot login normally because no info is added to the table oauth_identities.
If I manually populate a row with the required info, all the new login attepts work properly..
Is this a normal behaviour because it's something I must manually insert or the package is supposed to do that for me?
Thanks and sorry if it is a stupid question.
The text was updated successfully, but these errors were encountered: