Skip to content

Instantly share code, notes, and snippets.

View coleman8er's full-sized avatar
🚀

Andrew Coleman coleman8er

🚀
View GitHub Profile
@coleman8er
coleman8er / garmin-browser-auth.py
Created March 21, 2026 14:53
Get Garmin OAuth tokens via Playwright browser login — bypasses the 429-blocked SSO endpoint
#!/usr/bin/env python3
"""
Get Garmin OAuth tokens via real browser login (Playwright).
Bypasses the 429-blocked SSO programmatic login endpoint.
Usage:
uv run --with playwright --with requests-oauthlib scripts/garmin-browser-auth.py
First time setup (installs Chromium):
uv run --with playwright python -m playwright install chromium