ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Laravel API Google Sign In/Sign Up (OAuth 2) using Firebase

Автор: codewithtee

Загружено: 2025-09-09

Просмотров: 268

Описание: In this video, I’ll show you how to implement Google Sign In / Sign Up in a Laravel API using Firebase, without using Socialite!

Unlike Laravel Socialite (which is mainly for web apps), this method works perfectly for APIs that need to authenticate users from mobile apps or separate frontend clients.

We’ll build a fresh Laravel project and a small frontend demo to test the flow. On the backend, we’ll use Laravel Sanctum for issuing tokens and kreait/laravel-firebase to validate Google tokens from the client.

What you’ll learn in this video:

Setting up a new Laravel project for API authentication

Installing & configuring Firebase in Laravel

Enabling Google Sign In in Firebase Console

Validating Google tokens in Laravel using kreait/laravel-firebase

Creating or retrieving users in the database

Generating API tokens using Laravel Sanctum

Building a simple frontend to test the login flow

🌐 Authentication Flow:

User clicks "Login with Google" on the frontend

Google returns an ID token

The token is sent to the Laravel API

Laravel verifies the token with Firebase

User is created or retrieved from the database

Laravel Sanctum issues an API token

The token is used for all authenticated requests

✅ This works great for:

Single Page Applications (React, Vue, Angular)

Mobile Apps (iOS, Android, Flutter, React Native)

Any frontend that talks to a Laravel backend

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Laravel API Google Sign In/Sign Up (OAuth 2)  using Firebase

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Nest JS API Google Sign In/Sign Up (OAuth 2) using Firebase

Nest JS API Google Sign In/Sign Up (OAuth 2) using Firebase

Level Up Laravel Query Filters with Laravel Pipelines

Level Up Laravel Query Filters with Laravel Pipelines

How to Dockerize Vue App With Hot Reloading (HRM)

How to Dockerize Vue App With Hot Reloading (HRM)

Deep House Winter Mix 2026 ❄️ Chill & Mix - Best Of Chill Out Sessions by Deep Paradise

Deep House Winter Mix 2026 ❄️ Chill & Mix - Best Of Chill Out Sessions by Deep Paradise

Android Studio Project File Structure Explained | Complete Beginner Guide (Full Breakdown)

Android Studio Project File Structure Explained | Complete Beginner Guide (Full Breakdown)

JWT Tokens | Why JWT? How JWT Works? Format & Flow in Spring Security

JWT Tokens | Why JWT? How JWT Works? Format & Flow in Spring Security

Gemini на рабочих 13 задачах: имба и слабости

Gemini на рабочих 13 задачах: имба и слабости

Deep House 2025 | Vocal House, English Deep House, Nu Disco, Chillout Mix | Intimate Mood

Deep House 2025 | Vocal House, English Deep House, Nu Disco, Chillout Mix | Intimate Mood

Музыка для работы за компьютером | Фоновая музыка для концентрации и продуктивности

Музыка для работы за компьютером | Фоновая музыка для концентрации и продуктивности

IAM Explained in Google Cloud: Manage Access and Permissions

IAM Explained in Google Cloud: Manage Access and Permissions

JWT Authentication Tutorial - Node.js

JWT Authentication Tutorial - Node.js

Rest API: List Transactions (Part 28)

Rest API: List Transactions (Part 28)

Laravel Sanctum Google Authentication

Laravel Sanctum Google Authentication

КАК НЕЛЬЗЯ ХРАНИТЬ ПАРОЛИ (и как нужно) за 11 минут

КАК НЕЛЬЗЯ ХРАНИТЬ ПАРОЛИ (и как нужно) за 11 минут

AWS EC2 for Beginners: Launch a Linux Instance, SSH with PEM Key, and Enable Password Login

AWS EC2 for Beginners: Launch a Linux Instance, SSH with PEM Key, and Enable Password Login

Гайд по созданию Telegram бота на Python + деплой

Гайд по созданию Telegram бота на Python + деплой

Divine Music - The Year Mix Vol.10 [Chill & Ethnic Deep 2025]

Divine Music - The Year Mix Vol.10 [Chill & Ethnic Deep 2025]

Selenium + Cucumber + Java  + Maven in BDD Framework with Page Object Model - Intellij setup

Selenium + Cucumber + Java + Maven in BDD Framework with Page Object Model - Intellij setup

Authenticate Your Next.js Apps Using Firebase: Complete Guide

Authenticate Your Next.js Apps Using Firebase: Complete Guide

Rest API: Transfer Money Between Wallets (Part 27)

Rest API: Transfer Money Between Wallets (Part 27)

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]