12-21-2016, 11:17 AM
Hello,
So I have already set up my website and:
- the normal register (using email) works correctly
- the FB and Google register:
- - if the user already has an account in the website, logging in with facebook and google works correctly
- - if the user is new, which means that if the user doesn't already have an account in the website, the system does not create the user in the database at all.
Sidenotes:
- I have changed some things in google_oath.php, facebook_oath.php and fb-callback.php in order for the above things to work, but paths mostly, not "real" code.
Any ideas on what's wrong and new users cannot be created by the social thingies?
So I have already set up my website and:
- the normal register (using email) works correctly
- the FB and Google register:
- - if the user already has an account in the website, logging in with facebook and google works correctly
- - if the user is new, which means that if the user doesn't already have an account in the website, the system does not create the user in the database at all.
Sidenotes:
- I have changed some things in google_oath.php, facebook_oath.php and fb-callback.php in order for the above things to work, but paths mostly, not "real" code.
Any ideas on what's wrong and new users cannot be created by the social thingies?