Chingu-cohorts/devgaido

Error when attempting to sign up

jdmedlock opened this issue · 3 comments

Issue Description & Expected Outcome:
Went to sign up but got error: WE’RE SORRY, SOMETHING WENT WRONG WHEN ATTEMPTING TO SIGN UP.

Symptoms:
Received the following error message from Auth0 WE’RE SORRY, SOMETHING WENT WRONG WHEN ATTEMPTING TO SIGN UP.

Steps to Recreate:
TBD

Resolution:
Updated Auth0 settings to allow access from both www.devgaido.com as well as devgaido.com.

Posted the following in a Slack DM: Hi Tony. I saw your comment on the devGaido Medium article that you are having issues logging in. I'll open an issue up on GitHub for this. What browser and OS are you using? Would you look on the browsers console log and let me know if it contains any errors or warnings? Thanks

User reports that he was attempting to signup using email rather than GitHub or Google integration. Replicated in production and browser console log contains the following messages:

XMLHttpRequest cannot load https://devgaido.auth0.com/user/ssodata/. 
No 'Access-Control-Allow-Origin' header is present on the requested resource. 
Origin 'https://www.devgaido.com' is therefore not allowed access.

bundle.js:1 There was an error fetching the SSO data. This could simply mean 
that there was a problem with the network. But, if a "Origin" error has been 
logged before this warning, please add "https://www.devgaido.com" to the 
"Allowed Origins (CORS)" list in the Auth0 dashboard: https://manage.auth0.com/#/applications/L90m0rEGvEWnCkQOBYE3U30J6m68HDIb/settings
S @ bundle.js:1

www.devgaido.com/:1 XMLHttpRequest cannot load https://devgaido.auth0.com/dbconnections/signup. Response to preflight 
request doesn't pass access control check: No 'Access-Control-Allow-Origin' 
header is present on the requested resource. Origin 'https://www.devgaido.com' 
is therefore not allowed access.

Contacted user on Slack to confirm solution. Close following confirmation.