Рет қаралды 24,754
🎓 Join my learning platform for module based courses, learning exercises, and more: coderprep.com/
In this video we go over how to create a full GitHub OAuth 2.0 authentication system, fit with a React frontend, custom proxy server, and the ability to interact with the GitHub API by grabbing user data. This video is a great start for anyone who is interested in adding GitHub integrations to their React project, or wants to make GitHub one of their main ways of authentication. GitHub has a super powerful API, so this video should help you get started when it comes to interacting with the initial authentication.
Buying stuff through my Amazon link supports the channel! amzn.to/3hK5gd0
Business inquiry? Email thecoopercodes@gmail.com
0:00 Intro / project showcase
0:57 System diagram
2:50 Initialize GitHub OAuth 2.0 Application
4:21 Create React app / remove strict mode
6:00 Creating initial login logic
9:00 Process code parameter from URL
11:00 Create proxy server / call GitHub APIs
22:30 Create access token logic for frontend
27:11 Get user data with access token
33:51 Final project / thanks for watching!