← Back to automation bots

SSO Booking Bot

A Playwright bot that logs in through TU Delft's NetID single sign-on and grabs a gym slot the instant it opens.

Stack
Python, Playwright
Auth
OIDC / SAML (NetID SSO)
Focus
Browser automation, race conditions
Automated booking flow

Overview

Gym slots open at a fixed time and disappear within seconds. I wanted one booked automatically the moment it went live. The catch: the booking page sits behind TU Delft's full NetID single sign-on, so there is no simple request to fire.

What I built

A Playwright bot that drives the complete OIDC/SAML NetID single-sign-on flow end to end, then books the target slot as soon as it becomes available. It retries through the race conditions that show up when everyone hits “book” at the same instant, so a lost race becomes another attempt rather than a failure.

Highlights

  • End-to-end automation of a real enterprise SSO flow (OIDC / SAML).
  • Retries on booking race conditions at the moment of contention.
  • Headless Playwright driving the full authenticated journey.

Gallery

← Back to automation bots