Ryan Doherty
12/08/2021, 11:12 PMDan Greaves
12/08/2021, 11:16 PMThe configuration object is missing required auth propertiesThis part of the error implies an problem with this section - https://serverless-stack.com/chapters/configure-aws-amplify.html#add-aws-amplify - have you configured the
Auth part of the config, and have the values resolved properly? If you console.log that Auth part, you should see your cognito values in there, like the user pool ID etc.Ryan Doherty
12/08/2021, 11:34 PMundefined when I console.log that out via the catch clause in Login.js ...
I am however seeing those values populate in the output from npx sst start (REACT_APP_API_URL, REACT_APP_USER_POOL_ID ) -- so I'm curious if I've done something wrong with the config.js file we create in that step, since it doesn't seem to be resolving those env values correctly for the React app.Dan Greaves
12/08/2021, 11:36 PMRyan Doherty
12/08/2021, 11:44 PMpackage.json to include sst-envRyan Doherty
12/08/2021, 11:44 PMDan Greaves
12/08/2021, 11:44 PM