filmov
tv
How to Implement Sign-in With Google using PHP [OAuth 2.0]

Показать описание
This video shows you how to implement an OAuth 2.0 login flow with Google as the provider in vanilla PHP.
Donations: you can support this channel by buying me a coffee:
---------------------------------------
Server providers:
-------------------------------------------------------------
0:00 intro
1:42 getting client id and secret
5:14 demo
7:46 requesting authorization code
12:34 code exchange
16:11 storing cookies
18:13 fetching user profile
20:49 storing user data in session
22:10 refreshing access token
23:48 sign out
Disclaimer:
This video is based on my personal experiences and knowledge. There is no guarantee that the information shared is 100% accurate.
Disclosure:
This video and its description may contain affiliate links, which can earn us commission if someone purchases products using those links.
Donations: you can support this channel by buying me a coffee:
---------------------------------------
Server providers:
-------------------------------------------------------------
0:00 intro
1:42 getting client id and secret
5:14 demo
7:46 requesting authorization code
12:34 code exchange
16:11 storing cookies
18:13 fetching user profile
20:49 storing user data in session
22:10 refreshing access token
23:48 sign out
Disclaimer:
This video is based on my personal experiences and knowledge. There is no guarantee that the information shared is 100% accurate.
Disclosure:
This video and its description may contain affiliate links, which can earn us commission if someone purchases products using those links.