I am using OAuth 2.0 for google SingIn, it is opening a popup window for user authentication but i want to open in same tab itself, please help me. Thanks in advance.
Google SignIn user authentication opening in Popup window, need to open in same Tab itself using OAuth 2.0
7.6k views Asked by Jayasenthil At
2
There are 2 answers
0
cometfish
On
You can use ux_mode: redirect to change Google to Redirect mode which will open in the same tab instead of in a popup.
Ref: https://developers.google.com/identity/sign-in/web/reference#gapiauth2clientconfig
Then on your redirect landing page, use auth2.currentUser.get() to retrieve the signed in Google User object.
(I know this is an old question, but this was one of the first results in a web search; thought it might help others who end up here as well)
Related Questions in GOOGLE-API
- Can you use the Drive API to share a file in Google Drive to an oath2 subject rather than email address?
- youtube api quota limit of 10000api
- How can i get the reviews in google maps via API
- Google api nearbysearch how to filter data business_status
- Optimizing Gmail API Query or Alternative Method to Retrieve Total Email Size
- How to use Oauth in order to log‑in on .googleapis.com on almost any arbitrary endpoints domains from the web browser?
- How do I get rid of any type of Memory Saver in Chrome
- Google Picker API not firing callback when using toUri() in iframe
- Python Google Speech v1 voice_activity_timeouts error
- How to config expo MapView correctly?
- Google can't find my keyfilePath in my NextJS app?
- Renaming a file - Google API direct download link
- Access Regular Gmail Account with API in Lambda
- Security of Google Drive API Objects using Google Service Account Credentials in Client Side Code for Website
- Dataportablity api stops working after two weeks
Related Questions in GOOGLE-AUTHENTICATION
- How to add host.docker.internal to Authorized redirect URIs for google OAuth Api
- error when i click on google sign in flutter
- When I try to run, it say : Cannot read properties of undefined (reading 'firstName')
- How to verify a user on my app owns a youtube video
- How would I check a user of my website is a subscriber of a youtube channel?
- Change the app name for Firebase authentication
- Error - no kind "ClientConfig" is registered for version "authentication.gke.io/v2alpha1" in scheme "pkg/runtime/scheme.go:100"
- OIDC connect using kubernetes API to talk to kubernetes cluster
- gmailr credentials randomly (?) need re-authentication
- Get image url from profile with .imagetype in the link using FirebaseUser
- How to make through Google's IAP in Cypress?
- [Unhandled promise rejection: ReferenceError: Can't find variable: auth]
- does gcp signed url work with google pub/sub?
- Implement SSO with Google SAML
- I want to do authorization via Google using next-auth
Related Questions in GOOGLESIGNINACCOUNT
- Sign in with Google using Firebase Authentication In Project React Native CLI
- [GSI_LOGGER]: FedCM get() rejects with IdentityCredentialError: Error retrieving a token
- google_sign_in always returning null when adding new google account from app on android
- Google Sign in integration failure after load
- Google Signin Using CustomTabIntent In Android Kotlin
- I can't generate SHA-1 code when I run gradew signingReport
- I can't configure Google SignIn with Firebase on my Xcode
- reopening of google signin popup
- Login_hint for google signin in android
- transfer GoogleSignInAccout to kotlin side from flutter below flutter method chanel
- Cannot Logout from Google account in AWS Cognito
- Have Google pop-up window account sign in want bottom nav slide-up menu like the Share menu version in pics attached for my android studio app
- Google OAuth Login Android "Access blocked" error 403 access_denied to some users
- RPC Executor Service Error when automating google sign in option (Cypress)
- google is not define even after adding the client library
Related Questions in GOOGLE-SIGNIN
- Expo Deep linking on iOS is not working (because of Google sign-in?)
- GoogleAuth error in flutter - platformException(network_error, com.google.android.gms.common.api.ApiException: 7: , null, null)
- Error on Google Sign In CredentialManager, using Jetpack Compose
- Gray view with a white horizontal bar appearing after Google signin from my Android app
- How to fix error when running auth().signinwithcredential in Firebase Expo
- In Blazor app, how do I access the JWT from Google sign-in and set the verified user?
- [GSI_LOGGER]: The given login_uri is not allowed for the given client ID
- I don't know how to change the language of my google sign in button
- I am getting a PlatformException(....ApiException: 10: , null, null) every time I try to log in with google on android
- How to Authlib OAuth for Google Sign In in headless infrastructure (Vue JS and FastAPI)? Error: blocked by CORS policy
- How to add a Google Sign-in functionality in Chrome extension with firebase or without firebase auth using the latest version Chrome extension MV3
- Sign in with Google using Firebase Authentication In Project React Native CLI
- FedCM Migration: Google sign-in prompt is not shown again after user closes manually
- This app because it doesn't comply with Google's OAuth 2.0 policy for keeping apps secure
- Google one-tap sign-in stopped working. Possibly related to FedCM changes?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
The popup window opens if you use Google Sign-In JavaScript library. You have to use server side api client libraries to authenticate / authorize without a popup. https://developers.google.com/identity/protocols/OAuth2WebServer