Open jungleBadger opened 10 months ago
The boilerplate code and code instructions guides students to update the environment variables file, but the code utilizes hardcoded value for the Auth0 domain URL, causing an error to create and load groups.
lesson-4-authentication/exercises/07-extract-user-id-solution/client
All files in the following search result:
https://github.com/search?q=repo%3Audacity%2Fcd12101-lesson-demos-and-exercise-starters-solutions+test-endpoint.auth0.com&type=code
Replace the hardcoded instances with the REACT_APP_AUTH0_DOMAIN environment variable value.
REACT_APP_AUTH0_DOMAIN
Summary
The boilerplate code and code instructions guides students to update the environment variables file, but the code utilizes hardcoded value for the Auth0 domain URL, causing an error to create and load groups.
Path
lesson-4-authentication/exercises/07-extract-user-id-solution/client
File
All files in the following search result:
https://github.com/search?q=repo%3Audacity%2Fcd12101-lesson-demos-and-exercise-starters-solutions+test-endpoint.auth0.com&type=code
Proposed solutions
Replace the hardcoded instances with the
REACT_APP_AUTH0_DOMAIN
environment variable value.