Auth0 login undefined/authorize?redirect

I’m not sure if they are. I have my .env file with the correct credentials but do you know of a reason why my react component would not be able to read those .env file? I do have the npm dotenv package installed. Would I need to require something in the components itself to have them understand the variables in the .env file?