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

188
Views
Mantener la sesión de usuario de Google OAuth en Actualizar

Estoy usando la API de Google Calendar y no sé cómo mantener al usuario conectado cuando actualiza la página. No puedo encontrar nada en línea sobre esto. ¡Si alguien pudiera ayudar, sería muy apreciado! Este es mi código actual para iniciar sesión del usuario:

 function handleAuthClick() { tokenClient.callback = async (resp) => { if (resp.error !== undefined) { throw (resp); } await listUpcomingEvents(); }; if (gapi.client.getToken() === null) { tokenClient.requestAccessToken({prompt: 'consent'}); } else { tokenClient.requestAccessToken({prompt: ''}); } }

Mi elemento de body ejecuta esto automáticamente al cargar. Estoy usando esta guía: https://developers.google.com/calendar/api/quickstart/js .

about 4 years ago · Juan Pablo Isaza
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!