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

Incorrect calculation of LCP with redirect #1445

Open
denislevshukov opened this issue Sep 27, 2023 · 1 comment
Open

Incorrect calculation of LCP with redirect #1445

denislevshukov opened this issue Sep 27, 2023 · 1 comment

Comments

@denislevshukov
Copy link

Hello!

I know this topic came up last year, but I didn't quite understand the outcome.

What is the problem. When a user enters the site, we check his token and if there is no token, a redirect to a third-party login service occurs, after logging in he is redirected back to the site. And in this case, LCP is calculated from the moment of redirection to a third-party service. Is there any workaround for this behavior now?

I would like LCP to be calculated without capturing the redirect

@devcorpio
Copy link
Contributor

devcorpio commented Sep 28, 2023

Hi @denislevshukov,

Thanks for your question!

There is a comment in this other github issue about third-party redirects.

Currently, there are no plans to handle third-party redirects in the mid-term. And there is no 100% reliable workaround for this situation.

I'll leave this issue open for tracking purposes.

Cheers,
Alberto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants