samedi 18 février 2017

Social login when email is not shared by user

I am new to this social login thing. My app currently takes an email and password. It creates a jwt token and send it to the server during a successful login. I am now trying to incorporate social login to the app. My doubts are as follows

1) I read somewhere that the user have the ability to deny access to the email address. In this case, how shall I handle the situation as my app currently works on email for login process? The email and password are not null fields in the database.

2) How can i generate a token using JWT in my app during social login, as it requires a password to generate a token? In the case of social login, password will not be there.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2lxCAF7
via IFTTT

Aucun commentaire:

Enregistrer un commentaire