I cloned the repo, followed the instruction for resource-server but when I run npm run resource-server and go to localhost:8000/secure or /api/messages I get Unauthorized.
I've added the .samples.config.json with the Client ID, following the docs.
npm --version
6.4.1
$ npm run resource-server
> @okta/samples-nodejs-express-4@3.0.0 resource-server <path>/samples-nodejs-express-4
> node resource-server/server.js
Resource Server Ready on port 8000
Unauthorized
Unauthorized
Unauthorized
I cloned the repo, followed the instruction for
resource-server
but when I runnpm run resource-server
and go tolocalhost:8000/secure
or/api/messages
I getUnauthorized
. I've added the.samples.config.json
with the Client ID, following the docs.