Fix your google auth?
# support
m
@Sahil It's been a few months now that I have to signin to the dashboard sometimes twice a day. I used to have the same issue on my web app and fixed it by implementing google's prebuilt buttons. Fixed the session refresh issue for me! Maybe you guys should try it...
v
Suggestion: To improve session persistence and reduce frequent sign-ins, consider integrating Google's official prebuilt sign-in button, which handles token refresh and session management automatically. Here's a quick example for web apps:
Copy code
html
<div id="g_id_onload"
     data-client_id="YOUR_GOOGLE_CLIENT_ID"
     data-auto_prompt="false"
     data-callback="onSignIn">
</div>
<div class="g_id_signin"></div>
This approach leverages Google's built-in session handling and may resolve the issue you described. Source: - [Vapi CLI Authentication Documentation](https://docs.vapi.ai/cli/auth)
c
Thanks for flagging this issue. We have noticed the login issue as well and we have brought it up to our team.
2 Views