mongodb / stitch-js-sdk

MongoDB Stitch JavaScript SDK
Apache License 2.0
113 stars 67 forks source link

"error": "signingKeys must not be blank" #355

Open dianmonblan opened 4 years ago

dianmonblan commented 4 years ago

Hello,

I am doing the following

  1. MongoAtlas-> Stitch: Generating token using utils.jwt.encode
  2. Frontend-StitchBrower: Use of CustomProvider using the returned token to connect the user
  3. Frontend-StitchBrower: Connection made successfully

Problem: When I send the for Authentication Type jwtTokenString header I get the following error "signingKeys must not be blank"

ERROR 2 ERROR !

Can you explain to me why after using CustomProvider the token generated by Stitich in the access_token property IS NOT EQUAL TOKEN SENT as a parameter to the CustomProvider, I don't understand?