You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 31, 2020. It is now read-only.
I used to have a working MFG instance. I've always kept it up and a few months ago when I tried to log in it threw an internal error on the /auth/google/callback page after going through Google sign in.
Here is my exact .env file:
# Google consumer credentials for oauth
# - Generate these here https://console.developers.google.com/apis/credentials/oauthclient
# and make sure to enable the Google+ API
#
# Examples:
GOOGLE_CONSUMER_KEY=173590999145-n4lmi010l8hebitirunsi4v7vnesicp5.apps.googleusercontent.com
GOOGLE_CONSUMER_SECRET=mfq7GUjpUJJpAyCah1gwU0b2
GOOGLE_CALLBACK=http://ec2-52-50-44-43.eu-west-1.compute.amazonaws.com/auth/google/callback
# if you aim to contribute and run the project via npm then use : GOOGLE_CALLBACK=http://localhost:8080/auth/google/callback
# Postgres user and database information
# - These variables should match your Postgres configuration
#
PSQL_HOST=
PSQL_USERNAME=
PSQL_PASSWORD=
PSQL_DATABASE=
# Redis configuration (optional, uses localhost by default)
# REDIS_HOST=
# REDIS_PORT=
# REDIS_PASSWORD=
# AWS keys are encrypted in the database using this user-specified password.
# - Generate a random password and provide it here.
#
# Example:
# ENCRYPTION_PASSWORD=VERYSECURERANDOMPASSWORD123
ENCRYPTION_PASSWORD=e}o.\tGC6yMFcyN,PrI2{o^Teb,o-h1o
# Default url used for unsubscription links, link tracking + pixel tracking links
# - This is usually the domain of the app.
# - Note that this can be overriden on a per-user basis if a user provides a whitelabel url
# in their settings page
#
# Example:
# PUBLIC_HOSTNAME=http://myappishostedhere.com
PUBLIC_HOSTNAME=http://ec2-52-50-44-43.eu-west-1.compute.amazonaws.com
The logs in docker show this:
app_1 | Error
app_1 | at /usr/src/app/node_modules/passport-google-oauth20/lib/strategy.js:95:21
app_1 | at passBackControl (/usr/src/app/node_modules/oauth/lib/oauth2.js:132:9)
app_1 | at IncomingMessage.<anonymous> (/usr/src/app/node_modules/oauth/lib/oauth2.js:157:7)
app_1 | at emitNone (events.js:110:20)
app_1 | at IncomingMessage.emit (events.js:207:7)
app_1 | at endReadableNT (_stream_readable.js:1045:12)
app_1 | at _combinedTickCallback (internal/process/next_tick.js:138:11)
app_1 | at process._tickDomainCallback (internal/process/next_tick.js:218:9)
Finally here is the configuration of my oAuth Client:
Google+ API is obviously enabled. I have tried creating other oAuth Clients, even trying on an other Google account and I cannot for the life of me figure out what is wrong.
I used to have a working MFG instance. I've always kept it up and a few months ago when I tried to log in it threw an internal error on the /auth/google/callback page after going through Google sign in.
Here is my exact .env file:
The logs in docker show this:
Finally here is the configuration of my oAuth Client:

Google+ API is obviously enabled. I have tried creating other oAuth Clients, even trying on an other Google account and I cannot for the life of me figure out what is wrong.