401 not authenticated error google oauth

Hello, I’m starting to learn on how to authenticate sign in using Google API. My sign in button works fine but when i test the endpoint api via Postman, i received 401 not authenticated. Also I got this error line in my VS Code: [next-auth][error][CLIENT_FETCH_ERROR]
Errors | NextAuth.js “[object Object]” is not valid JSON

How can I fix that?

Have a look at the following in the first instance.

How to Access Google APIs Using OAuth 2.0 in Postman | Postman Blog

If you still need help, then please use screenshots to show where you are at.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.