How is registration/authorization through SOC. network using oAuth2 if one of the social.networking does not give email/phone?

0 like 0 dislike
Website do on Laravel to authenticate via oAuth2 using the package Socialite with the right providers.
Gave rise to the following questions:
1) How to register/authenticate the user on the website, such as through the social. Facebook, if his account is only the phone (without email), and faysbuk, the phone user does not return?
2) for example, on the site Classmates through Facebook to come possible. But then the user turns out no phone no email and no Facebook login to Classmates will not be able (if there do not specify a username and password)!?
3) did I understand Correctly that most websites (Facebook, VK, Google,...) do not return the user's phone?
by | 10 views

1 Answer

0 like 0 dislike
1) Why do you need to register a soap/phone? Right, no reason — is the ID of the social sphere, is the name of the driver, that's enough. But if they are needed for further use in your application, and ask the user to specify them further in the registration process/after it.

2) Ask the Classmates.

3) Yes. Many even do not give soap — Classmates only with additional gestures, Twitter at all. Upd: In comments prompt that now Twitter gives if it it is well to ask.

Related questions

0 like 0 dislike
7 answers
0 like 0 dislike
2 answers
0 like 0 dislike
3 answers
asked Mar 23, 2019 by vixh
110,608 questions
257,186 answers
33,967 users