I’m trying to run automated Lighthouse tests on authenticated pages in CI/CD, but hitting authentication challenges.
Setup:
- Auth0 with only Google OAuth and Passwordless Email (no passwords)
- Need to test authenticated pages in GitHub Actions
Problem:
- Auth0 M2M requires password authentication (which we can’t enable)
Current solution: Puppeteer UI automation of Google OAuth flow
Issue: Brittle, slow, may hit CAPTCHAs
Question: Is there away to authenticate with OAuth providers in CI/CD for performance testing, or is UI automation the only option?