dongquweng5152 2017-02-04 06:06
浏览 80

使用基本身份验证整合Laravel Socialite facebook登录

Already I have integrated the Laravel default Auth in my application now I want to integrate social logins with it.

Here is the work flow

1.get user details(social_id,name,email,profile_pic) from socialite

2.check the user existence with email ,if its exists execute auth::login, otherwise create a new record in users table and redirect to profile.

When a user remove email-id during Facebook auth Approval page I will get

$user-getEmail() as null so in this case above workflow is not applicable since everything is depend on user email so how can I handle this situation

  • 写回答



      相关推荐 更多相似问题


      • ¥20 大学计算机网络实验报告
      • ¥20 Oracle触发器,用户管理题目
      • ¥250 python的exchangelib 报错
      • ¥15 Oracle外部过程获取的句柄属性为空
      • ¥20 snmpv3相关提问
      • ¥20 boost电路升压频率和占空比选择
      • ¥15 找个人工智能的大佬咨询一些毕设问题
      • ¥15 需要教程:GD32F450I移植无系统lwip
      • ¥15 中文语料库检索构式 求助
      • ¥15 关于naver点击量信息