Open danohn opened 1 month ago
The server example.env currently contains a trailing forward slash for the AUTH0_ISSUER_BASE_URL: https://github.com/twilio/twilio-voice-react-native-app/blob/b568391ea7e47b853f1f2c137ff7b473bb438ded/server/example.env#L37
AUTH0_ISSUER_BASE_URL
As a result, the getUserInfo function sends the axios request as //userinfo which causes Auth0 to return 404 Not Found:
https://github.com/twilio/twilio-voice-react-native-app/blob/b568391ea7e47b853f1f2c137ff7b473bb438ded/server/src/utils/auth.ts#L36
The server example.env currently contains a trailing forward slash for the
AUTH0_ISSUER_BASE_URL
: https://github.com/twilio/twilio-voice-react-native-app/blob/b568391ea7e47b853f1f2c137ff7b473bb438ded/server/example.env#L37As a result, the getUserInfo function sends the axios request as //userinfo which causes Auth0 to return 404 Not Found:
https://github.com/twilio/twilio-voice-react-native-app/blob/b568391ea7e47b853f1f2c137ff7b473bb438ded/server/src/utils/auth.ts#L36