Google Auth 2.0 integration.

ethancs13TRIAL

9 months ago

Here is the current error I am receiving:

"dbdbdb-production.up.railway.app/:1 The fetch of the id assertion endpoint resulted in a network error: ERR_FAILED

Understand this error dbdbdb-production.up.railway.app/:1 The provider's token fetch resulted in an error response code.

Understand this error client:52 [GSI_LOGGER]: FedCM get() rejects with IdentityCredentialError: Error retrieving a token."

Currently I am trying to use google authentication 2.0 to send an email using nodemailer.

It works successfully on a local test and sends the email after signing in. However, when I get the popup on the production site, it shows the error above. There are no network connections that fail, it just says "something went wrong" on the google signin button.

What do I have to do to enable the Gmail API and authentication in my MERN application?

Current Repo: https://github.com/ethancs13/dbdbdb

0 Replies

Google Auth 2.0 integration. - Railway Help Station