nextauthjs / nextauthjs/next-auth

Popup login with Google provider instead or redirect

Open
#8,030 4 comments 15 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement triage
Dominant language
TypeScript
Stars
28.4k
Forks
4k
PR merge metrics
No merged PRs in 30d

Description

Description 📓

Currently, there is no clean way to use popup login with Google provider. User should be able to simply provide an option and next-auth should take care of opening up a popup window to complete the authentication instead of redirecting to the provider's page.

How to reproduce ☕️

Create a simple auth page with Google provider.

Contributing 🙌🏽

Yes, I am willing to help implement this feature in a PR

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with a simple auth page configured with the Google provider and trace the current redirect-based login flow. Identify the existing sign-in entry point and determine how an option could select popup authentication; done means the popup completes Google authentication without redirecting to the provider page.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, typescript
Domain
authentication, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.