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 has been archived by the owner on Jul 15, 2020. It is now read-only.
Expected behavior
Redirect user to either previous page or logged in page, and show that the user is signed in. Instead it takes user to Page not found '_error' does not exist, and console error with replaceState cannot be executed on the origin.
Node version, NPM version and Operating System and version
nodejs v12.16.1
npm version 6.13.4
Operating system:
Ubuntu 18.04
Describe the bug
Sign in / auth doesn't work for neither google nor email sign up/in.
To Reproduce
Deploying to AWS EC2 ubuntu 18-04 instance:
Populate the .env file with real data such as
SERVER_URL=http://ec2-3-10-198-176.eu-west-2.compute.amazonaws.com/
...
GOOGLE_ID
GOOGLE_SECRET=
...
Expected behavior
Redirect user to either previous page or logged in page, and show that the user is signed in. Instead it takes user to Page not found '_error' does not exist, and console error with replaceState cannot be executed on the origin.
Node version, NPM version and Operating System and version
nodejs v12.16.1
npm version 6.13.4
Operating system:
Ubuntu 18.04
Additional context
Logs:
Failed to load resource: the server responded with a status of 404 (Not Found)
main-e42bb1aba7f66664c61d.js:1 Failed to execute 'replaceState' on 'History': A history state object with URL 'http://auth/email/signin/4337b7cf-4aa0-4a5a-85ca-8280890e38e3' cannot be created in a document with origin 'http://ec2-3-10-198-176.eu-west-2.compute.amazonaws.com' and URL 'http://ec2-3-10-198-176.eu-west-2.compute.amazonaws.com//auth/email/signin/4337b7cf-4aa0-4a5a-85ca-8280890e38e3'.
Error: Failed to execute 'replaceState' on 'History': A history state object with URL 'http://auth/email/signin/4337b7cf-4aa0-4a5a-85ca-8280890e38e3' cannot be created in a document with origin 'http://ec2-3-10-198-176.eu-west-2.compute.amazonaws.com' and URL 'http://ec2-3-10-198-176.eu-west-2.compute.amazonaws.com//auth/email/signin/4337b7cf-4aa0-4a5a-85ca-8280890e38e3'.
at e.value (http://ec2-3-10-198-176.eu-west-2.compute.amazonaws.com/_next/static/chunks/commons.913a7d85cefec260cf27.js:72:11510)
at new e (http://ec2-3-10-198-176.eu-west-2.compute.amazonaws.com/_next/static/chunks/commons.913a7d85cefec260cf27.js:72:8219)
at i (http://ec2-3-10-198-176.eu-west-2.compute.amazonaws.com/_next/static/chunks/commons.913a7d85cefec260cf27.js:72:5262)
at t.createRouter (http://ec2-3-10-198-176.eu-west-2.compute.amazonaws.com/_next/static/chunks/commons.913a7d85cefec260cf27.js:18:6669)
at http://ec2-3-10-198-176.eu-west-2.compute.amazonaws.com/_next/static/runtime/main-e42bb1aba7f66664c61d.js:1:1938
at w (http://ec2-3-10-198-176.eu-west-2.compute.amazonaws.com/_next/static/chunks/commons.913a7d85cefec260cf27.js:48:55892)
at Generator._invoke (http://ec2-3-10-198-176.eu-west-2.compute.amazonaws.com/_next/static/chunks/commons.913a7d85cefec260cf27.js:48:55680)
at Generator.e. [as next] (http://ec2-3-10-198-176.eu-west-2.compute.amazonaws.com/_next/static/chunks/commons.913a7d85cefec260cf27.js:48:56071)
at r (http://ec2-3-10-198-176.eu-west-2.compute.amazonaws.com/_next/static/chunks/commons.913a7d85cefec260cf27.js:18:8454)
at l (http://ec2-3-10-198-176.eu-west-2.compute.amazonaws.com/_next/static/chunks/commons.913a7d85cefec260cf27.js:18:8652)
The text was updated successfully, but these errors were encountered: