Тёмный

Laravel Vue SPA Issue Tracker part 21: Socialite register user 

Programming with Peter
Подписаться 1,6 тыс.
Просмотров 3,4 тыс.
50% 1

Опубликовано:

 

27 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 20   
@haminidzinanusubalieva6622
@haminidzinanusubalieva6622 2 года назад
merci beaucoup!!! tu expliques bien)
@victorrivero8764
@victorrivero8764 Год назад
Amazing video my brother, you helped me a lot🥳
@skapator
@skapator 4 года назад
Awesome vid Peter. Very usefull! I was thinking about the retrival of the user via the email we get from socialite. What if the user has different emails on different providers. That would create new user if we had two social providers with different emails. Mayde instead of getting the appUser by provider email, we got the SocialAccount by provider_user_id and then the user of that socialAccount. So instead of $user = User::where('email', $provider_user->email)->first(); we do $socialAccount = SocialAccount::where('provider_user_id', $user->id)->where('provider', $provider)->first(); then $appUser = $socialAccount->user();
@ProgrammingwithPeter
@ProgrammingwithPeter 4 года назад
Yes, you might do it like that too, but you kinda need to manage things differently after that. Depends on what you really need, it's usually normal if the user register/login with multiple social accounts, to have multiple accounts.. But you can implemente something like that too, if you really need it this way.
@skapator
@skapator 4 года назад
@@ProgrammingwithPeter Yes depends on different needs. I ended up implementing that. The reason is , in my case, a user has tickets. So if the social email is different then a new user will be created and his tickets will be empty. I shared my implemantation here -> paste.laravel.io/57ad83eb-083c-4d7d-8772-ab66492c2e9a
@cjlalongbilang2047
@cjlalongbilang2047 3 года назад
What part did you create the Actions folder the register and login actions?
@bazizmeriem6999
@bazizmeriem6999 2 года назад
i can't get the user details i'm using laravel passport along with vuejs3 can anyone tell me what did i miss
@IT100IT
@IT100IT 3 года назад
Don't be distracted because of the accent, or the improvisation, in the end you'll find out the guy knows perfectly what he's doing.
@sthaweechat
@sthaweechat 4 года назад
รอตอนต่อไปครับ
@ProgrammingwithPeter
@ProgrammingwithPeter 4 года назад
Unfortunately it's going to be on Tuesday, can't work this week-end.
@pirhotpurba
@pirhotpurba 6 месяцев назад
cara memasukkan per turet gimana mas? durasi 7:24...
@จิรชัยโปรดิวซ์
can show example action log history, action login add,edit,delete
@ProgrammingwithPeter
@ProgrammingwithPeter 4 года назад
We can do that too, there are packages that helps with that or we can create our own logic but it will be a lot more code.
@kmata53
@kmata53 4 года назад
Did Peter commit today's work? Yes.
@ProgrammingwithPeter
@ProgrammingwithPeter 4 года назад
Thanks! You are a benefactor for the community!
@malikshafiq4777
@malikshafiq4777 Год назад
Bro every code push it on gitHub as well
@Shuvooa
@Shuvooa 4 года назад
Your video's are good but you need to make them HD.
@ProgrammingwithPeter
@ProgrammingwithPeter 4 года назад
Wait a few minutes man, it's just uploaded, youtube creates multiple versions!
@TheNerdyDev
@TheNerdyDev 4 года назад
RU-vid processes them within first 1-2 minutes after the upload. First watchers always face this problem, but once processing is done, you get full HD
@pirhotpurba
@pirhotpurba 6 месяцев назад
cara memasukkan per turet gimana mas? durasi 7:24...
Далее
skibidi toilet 77 (part 4)
05:20
Просмотров 12 млн
Why Rust is NOT a Passing Fad...
8:54
Просмотров 41 тыс.
Laravel Vue SPA Issue Tracker part 23: Login bug fix
26:23
Are we going back to PHP with fullstack JavaScript?
9:57
What is the Java Job delusion?
12:23
Просмотров 135 тыс.
skibidi toilet 77 (part 4)
05:20
Просмотров 12 млн