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

Preload auth URL #654

Open
morgante opened this issue Feb 10, 2023 · 0 comments
Open

Preload auth URL #654

morgante opened this issue Feb 10, 2023 · 0 comments

Comments

@morgante
Copy link
Contributor

Currently, using GitHub auth requires making a backend API call after the user clicks log in (but before it redirects to GitHub). This adds anywhere from 40–4000ms of latency that doesn't seem necessary in the user-facing flow.

Considering most people who come to the login page will in fact click log in, I suggest pre-fetching the auth URL when the log in component first loads.

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

No branches or pull requests

1 participant