Hi, I am completely out of ideas on what is going on here. I’m trying to setup JWTs on my Node.js server using Express.js. I have an Angular 7 front-end. On the client I use the npm package @okta/okta-angular to sign in the user. That works perfectly. I am trying to add authentication to my server as well, and use the @okta/jwt-verifier package. I tried setting it up using this post: https://developer.okta.com/blog/2018/08/07/node-angular-crud
Initially I had CORS issues, but got them resolved. I now get through the OPTIONS call, but on the GET I am getting a 401 with Error while resolving signing key for kid “[hash]”. So that is an error on oktaJwtVerifier.verifyAccessToken(accessToken). I don’t know what the problem with it is.
I have on the server env:
and on the client:
I have tried client as issuer: ‘https://.okta.com’ as well, because that is what I had and was working before the JWT efforts. It seems adding the /oauth2/default kills the sign in.
I don’t know what else to add. I just cannot work this out.