Visit [ Ссылка ] to get started learning STEM for free, and the first 200 people will get 20% off their annual premium subscription.
In this video, I demonstrate how I implemented Google OAuth2 into my Chrome extension and React website.
Subscribe to EngageAlot's waiting list: [ Ссылка ]
Timestamps:
00:00 - The benefits of using OAuth
01:09 - Token expiration
02:24 - Brilliant (Sponsor)
03:41 - getAuthToken vs launchWebAuthFlow
05:53 - Google ID token
08:06 - Refresh token setup + problems
12:48 - Share auth between Chrome extension and website
14:10 - Access Token vs ID token
15:03 - Session cookies & OpenID Connect
18:19 - Express cookie-session + login process
____________________
Subscribe to the channel: [ Ссылка ]
Follow me on Twitter: [ Ссылка ]
Join our developer community: [ Ссылка ]
For business requests, contact: info@codinginflow.com
Music by HoobeZa:
youtu.be/1ATTpS-UG-Y
youtu.be/rHEyG4nA9eE
How I Handle Authentication in My Chrome Extension
Теги
startup vlogtech startup blogsoftware startup vlogstartup blogstartup bloggersgoogle oauthgoogle oauth reactgoogle oauth2chrome extension authenticationchrome extension auth0chrome extension google loginchrome extension developmentgetauthtokenlaunchwebauthflowjwtjwt vs oauth2jwt vs sessionjwt vs cookiejson web tokenjson web token explainedaccess token vs id tokenauthentication vs authorizationpassport vs cookieChrome Extension