question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Redirection after authentication is very slow

See original GitHub issue

I’m migrating from Google Identity Toolkit to Firebase Auth and noticed that the redirection to the signInSuccessUrl after successful authentication takes on average 6 secs to complete. The loading bar goes across 3-4 times before the redirection is completed. Is this considered normal? It is significantly slower than the Identity Toolkit.

I also noticed that it is spitting several messages started with Received message: in the browser console while the redirection is taking place. It shouldn’t be logging anything to the console unless it’s running in some kind of debug mode.

Note that I’m currently testing it on localhost. Could that be the reason for seeing those log messages?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:12
  • Comments:20 (4 by maintainers)

github_iconTop GitHub Comments

7reactions
dandvcommented, Jun 13, 2019

I’ve previously reported major slowness when logging in with Twitter, and the problem still persists.

Here’s logging in with Twitter to the Firebase Auth demo:

Firebase redirection slow Twitter

And here’s logging in with Twitter to Spectrum.chat. Way, way faster:

Spectrum chat redirection FAST Twitter

6reactions
nikita-fuchscommented, Jul 27, 2020

Can confirm waiting times for google login and facebook login of up till 6 seconds.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Firebase slow redirect after sign in? - Stack Overflow
Will be called only 3 seconds after user is redirected to the page, in the meantime he doesn't know what is going on....
Read more >
createAuth0Client takes 5+ seconds after login from redirect
Its very slow only on login from a redirect, if the user already has the cookie required, it usually takes like 1/2 a...
Read more >
Slow redirect after successful authentication - Netgate Forum
When user login for the first time the website take too much time to respond therefore redirection sometimes it take up to 30...
Read more >
Slow Initial Login When Using Folder Redirection
When using folder redirection, users might experience a long delay. ... can delete these files without causing any harm after the redirection is...
Read more >
Unifi - Client to Captive Portal through Redirect is Very Slow
I will be going to the site and testing today. Cross my fingers and hope the port forwarding improves. I will post my...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found