Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE]: Lighthouse CLI Support for Authenticated Pages #18

Open
helabenkhalfallah opened this issue Oct 21, 2024 · 0 comments
Open
Assignees
Labels
Milestone

Comments

@helabenkhalfallah
Copy link
Member

✨ Description

This feature enhances the Lighthouse CLI to handle authentication for web pages that require users to log in.

πŸš€ Motivation

Many web applications have critical pages behind login screens. Currently, the Lighthouse CLI cannot easily audit these pages, leading to incomplete performance assessments.

πŸ“ Proposed Solution

Implement multiple authentication mechanisms in the Lighthouse CLI to cater to different authentication flows:

  • --auth-header: Allow users to provide an authentication header (e.g., Authorization: Bearer ) as a command-line argument.
  • --auth-cookie: Enable users to specify authentication cookies to be included in the requests.
  • --auth-script: Support a custom script (e.g., a Puppeteer script) that handles the authentication flow programmatically.

πŸ”— Relevant Links (if any)

@helabenkhalfallah helabenkhalfallah added the enhancement New feature or request label Oct 21, 2024
@helabenkhalfallah helabenkhalfallah self-assigned this Oct 21, 2024
@helabenkhalfallah helabenkhalfallah added feature and removed enhancement New feature or request labels Oct 21, 2024
@helabenkhalfallah helabenkhalfallah added this to the Vitality 2.0 milestone Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant