Sourav Moitra
Sourav Moitra

Reputation: 63

How to do lighthouse audit for a PWA which needs authentication

I am trying to do a lighthouse audit of my angular . My app uses jwt based authentication and I store the token in the localStorage.

I first login through the app and then start the lighthouse audit. But when the audit run starts the session is completely lost and the report is created based on the login page.

I have tried to open the browser using

ng serve --open

and then running lighthouse audit but, it still didn't worked

How to do a lighthouse audit after authentication ?

Upvotes: 1

Views: 629

Answers (1)

Related Questions