Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Google OAuth2 | FastAPI + Next.js Social Login | Flight Booking Engine | Day 66
Play lesson

FastAPI & Next.js project: Flight Booking App With DevOps. Day 1 - 100 - Google OAuth2 | FastAPI + Next.js Social Login | Flight Booking Engine | Day 66

5.0 (2)
23 learners

What you'll learn

This course includes

  • 104.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

Passwords are a friction point. In Day 66, we remove the barrier to entry by implementing Google OAuth2 from scratch. We are building a seamless "Continue with Google" flow that securely authenticates users without them ever typing a password. We go deep into the OAuth2 protocol—not just dropping in a library, but managing the flow ourselves to ensure total control and security. 💡 In this live build: The Backend Router: Implementing oauth.py to handle the handshake with Google's servers. The State Parameter: A critical security feature. We use it to prevent CSRF attacks AND to remember exactly where the user was (e.g., /dashboard) before they clicked login. Account Linking: Smart logic to handle edge cases (e.g., what if a user already has an email account but tries to log in with Google?). The Frontend Handshake: Building a Next.js Callback page that exchanges the code for a JWT and securely signs the user in. By the end, your users can sign up and book a flight in seconds with a single click. 📘 Watch the full playlist: 👉 https://www.youtube.com/playlist?list=PLdtwawCR2QjmdfhM-7SzDOVGop373bbgW 📂 GitHub Repo (Public Mirror): 👉 https://github.com/KNehe/aero_bound_ventures-public.git 🔥 Subscribe to master modern web development. #FastAPI #GoogleOAuth #NextJS #Authentication #WebSecurity #Python #SocialLogin

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere