Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

183
Views
How to get user google account data, in redirect mode after redirecting to login uri (Sign in with google)?

I am having "sign in with google" option. On clicking, I am being redirected to google accounts page (UX-Mode: redirect) where it displays google accounts. After clicking the account I needed, it gets back to the login_uri link which is being mentioned. I want to get the google account data as JWT token. How to do it?

<div id="g_id_onload" 
                    data-client_id="XXXXXXXXX.apps.googleusercontent.com"
                    data-ux_mode="redirect"
                    data-login_uri="http://localhost:8080/XXXX" 
                    data-callback="handleCredentialResponse">
                    </div>
                    <div class="g_id_signin signup_adj" data-type="standard" id="gsignin"></div>

The above code the redirect mode code. since I use login uri, it takes precedence and data-callback doesn't work. The main thing is, I want to use redirect mode and also want to get the google account data i click on as JWT token.

about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!