Adnan Erlansyah
Failed to exchange the Google token
Hello everyone, has anyone here ever encountered the error that the code from Google OAuth is not valid when I try to exchange it for a token from the backend? I followed this article to implement a login flow with Google using nuxt-utils, but when the code is sent to the backend, it becomes invalid, resulting in the error:
failed to exchange Google token
https://medium.com/@tony.infisical/guide-to-using-oauth-2-0-to-access-google-apis-dead94d6866d
This is my code to handle login google oauth.
7 replies
How to handle error messages based on enviroment?
Hello everyone, has anyone here ever experienced about how we can handle the error message based on environment? so for example if it's on dev, then the message will shown as from the debugging but when it's on production then use a message that looks informative like 'Server is being error now, please try again later'.
5 replies
References for general topics or new updates of NuxtJS 3 or VueJS
Hi everyone, does anyone know of any YouTube channels that explain Nuxt.js or Vue.js, whether it's about general topics or new updates? If anyone knows, please let me know. Thank you.
6 replies