CI/CD performance testing with OAuth-only authentication

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?

Hi @Tanisha
Welcome to the Auth0 Community! I have moved this question to our Get Help category so one of our community engineers can assist you. For additional help in the future, please search for answers first, and if you need further assistance, please post in our Get Help category, as our community engineers track incoming inquiries.

Thanks,
Christina