Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

183
Vistas
Keep Google OAuth User From Having to Login Every Time They Refresh

As I said in the title, every time I refresh my webpage, the Google OAuth has me log in again. I'm new to the Google OAuth thing and I'm just using the docs for the Google Calendar API. I'm trying to make a web app that lists everything on my calendar. I've attached the code I'm using below. If anyone could help, it'd be very much appreciated!

JS Script used for logging in: https://pastebin.com/XDBmwzgc

HTML Body tag: <body onload="handleAuthClick()">

HTML Script tags: <script async defer src="https://apis.google.com/js/api.js" onload="gapiLoaded()"></script> (in HTML head),

<script src="./calendar.js"></script> (in body),

<script async defer src="https://accounts.google.com/gsi/client" onload="gisLoaded()"></script> (in body).

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda