add the ability to popup the google's consent screen #2010

Closed
opened 2026-03-13 09:20:55 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @yousefdawood7 on GitHub (Sep 24, 2025).

Is this suited for github?

  • Yes, this is suited for github

is there any way to make the google's consent screen to popup instead of redirect ?

Describe the solution you'd like

you can do it manually using ux_mode='popup' but i want a way using the library

Describe alternatives you've considered

i didn't find any alternatives

Additional context

No response

Originally created by @yousefdawood7 on GitHub (Sep 24, 2025). ### Is this suited for github? - [ ] Yes, this is suited for github ### Is your feature request related to a problem? Please describe. is there any way to make the google's consent screen to popup instead of redirect ? ### Describe the solution you'd like you can do it manually using ux_mode='popup' but i want a way using the library ### Describe alternatives you've considered i didn't find any alternatives ### Additional context _No response_
GiteaMirror added the enhancement label 2026-03-13 09:20:55 -05:00
Author
Owner

@Kinfe123 commented on GitHub (Sep 25, 2025):

You can always do a disableRedirect:true and handle the popup by even calling the windows api to make it work or alternatively you can use the Google tap incase you didnt see that

@Kinfe123 commented on GitHub (Sep 25, 2025): You can always do a `disableRedirect:true` and handle the popup by even calling the windows api to make it work or alternatively you can use the Google tap incase you didnt see that
Author
Owner

@yousefdawood7 commented on GitHub (Sep 25, 2025):

@Kinfe123
thanks for the quick response.

and Yeah i'm Already Using it

Image

but the thing with window.open() you gotta handle the close and the redirection and all of that
and y'all can abstract all of that away in a simple property that google accepts which is ux_mode

@yousefdawood7 commented on GitHub (Sep 25, 2025): @Kinfe123 thanks for the quick response. and Yeah i'm Already Using it <img width="1418" height="904" alt="Image" src="https://github.com/user-attachments/assets/b254fe0d-82c0-4658-ad08-454c7897319d" /> but the thing with window.open() you gotta handle the close and the redirection and all of that and y'all can abstract all of that away in a [simple property](https://developers.google.com/identity/oauth2/web/guides/use-code-model#redirect-mode) that google accepts which is ux_mode
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#2010