Hi, I am doing my web app using create-react-app and Auth0 for my login/logout functionality. However, I run into a problem when I have to load the domain and clientId from the .env file. I console log them and both of them are undefined. When I replace “process.env.REACT_APP_AUTH0_DOMAIN” and “process.env.REACT_APP_AUTH0_CLIENT_ID” with actual strings value, everything works.
Can anyone tell me why this happened and how to fix this kind of issue in order for it to use the .env file properly? Thank you