Google Sign in for Homelab with Traefik Forward Auth and Docker

Опубликовано: 21 Февраль 2026
на канале: Simple-Homelab
3,084
56

Want a convenient way to secure your homelab services? Learn how to implement Google OAuth with Traefik Forward Auth! This guide shows you how to set up single sign-on for your Docker services using your Google account. Perfect for users already in the Google ecosystem wanting secure, convenient access to their services.

In this tutorial, you'll learn:
• Setting up Google OAuth credentials
• Configuring Traefik Forward Auth
• Managing Docker secrets securely
• Protecting Docker services with OAuth
• Securing external services
• Converting from basic auth to OAuth

TIMESTAMPS:
0:00 Introduction
1:28 Describing the Setup
2:27 Google OAuth Alternatives
3:03 DNS CNAME Records
3:27 Create Google Client ID and Secret
7:47 OAuth Middlewares and Chains
10:08 Creating OAuth Docker Secrets
12:58 Adding Secrets to Docker Compose
14:16 Adding OAuth Compose File
17:30 Starting and Testing OAuth
19:47 Automating Google OAuth Setup with Deployarr
20:20 Docker Services behind OAuth
21:59 Non-Docker/External Apps on OAuth
25:54 Closing Thoughts

PREREQUISITE VIDEOS:
▶️ Traefik v3 Setup:    • Master Traefik 3 in 60 min: Best Docker Re...  
▶️ Traefik Middlewares:    • Boost Performance and Security with Traefi...  
▶️ Authelia Guide:    • Set Up Authelia 2FA for Your Docker Servic...  

RELATED GUIDES:
🔗 Ultimate Docker Media Server: https://www.simplehomelab.com/udms-01...
🔗 Traefik v3 Guide: https://www.simplehomelab.com/udms-18...
🔗 Authelia Setup: https://www.simplehomelab.com/udms-19...
🔗 OAuth Guide: https://www.simplehomelab.com/udms-20...

GITHUB RESOURCES:
📜 Docker-Traefik Repository: https://github.com/SimpleHomelab/Dock...
📜 Deployrr Repository: https://github.com/SimpleHomelab/Depl...

RELEVANT PLAYLISTS:
▶️ Ultimate Docker Server:    • Mini Homelab Tour - I do a LOT with this L...  
▶️ Demystifying Traefik v3:    • Demystifying Traefik v3 - Master Class for...  

DEPLOYRR (FORMERLY AUTO-TRAEFIK):
📰 Official Website: https://www.deployrr.app
📺 Quick Intro (20 min):    • Deployrr 5 Intro: 145+ Docker Apps in Minu...  
📺 Detailed Guide (2.5 hours):    • Complete Deployrr Walkthrough: Ultimate Do...  

MY PROXMOX HOST:
🖥️ Topton V700 Intel i7-13800H Mini PC with 64 GB RAM: https://www.simplehomelab.com/go/topt... (Affiliate Link)
🔗 Best Mini PC for Proxmox: https://www.simplehomelab.com/best-mi...

SUPPORT MY WORK:
💝 https://www.simplehomelab.com/go/memb...
☕ https://buymeacoffee.com/simplehomelab
🎁 https://ko-fi.com/simplehomelab

JOIN THE COMMUNITY:
🤝 https://www.simplehomelab.com/go/disc...
🏠 https://www.simplehomelab.com/

FOLLOW US ON SOCIAL
Get updates or reach out to Get updates on our Social Media Profiles!
🐦 Twitter:   / simplehomelab  
📘 Facebook:   / simplehomelab  
📸 Instagram:   / simplehomelab  

#oauth #google #security #traefik #docker #homelab #authentication #sso #devops #tutorial #homeserver #selfhosted #networking #cloud