I set up the app and the server. While authenticated via username+pwd with auth0, I got the following response in the Log:
voice/getAccessToken/rejected {
"reason": "TOKEN_RESPONSE_NOT_OK",
"statusCode": 401,
"error": {
"name": "Error",
"message": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">
<title>Error</title>
</head>
<body>
<pre>InvalidTokenError: no applicable key found in the JSON Web Key Set
<br> at /Users/ash/nativereactdev/twilio-voice-react-native-app/server/node_modules/express-oauth2-jwt-bearer/dist/index.js:271:19
<br> at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
<br> at async /Users/ash/nativereactdev/twilio-voice-react-native-app/server/node_modules/express-oauth2-jwt-bearer/dist/index.js:374:24
</pre>
</body>
</html>
}
}
I didn't see setting up any JWKS in the instructions. Is there anything I am missing here?
I set up the app and the server. While authenticated via username+pwd with auth0, I got the following response in the Log:
I didn't see setting up any JWKS in the instructions. Is there anything I am missing here?