React Sample App not working due to invalid signature

Meeting SDK Type and Version
meetingsdk-3.10.0.tgz

Description
Hi, I have a trouble generating a valid signature to join a meeting room

  1. got a client id and a client secret (development app credentials) in marketplace
  2. cloned meetingsdk-auth-endpoint-sample repo, set up .env accordingly
  3. cloned meetingsdk-react-sample, filled out all required fields.
  4. ran localhost:4000 which is auth-endpoint-sample
  5. ran localhost:5173 and clicked Join Meeting button in chrome
  6. got an error code 3712

Error?

{
    "method": "join",
    "status": false,
    "result": "Invalid signature.",
    "errorCode": 3712,
    "errorMessage": "Signature is invalid."
}

Troubleshooting Routes

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzZGtLZXkiOiJraXZWb0M3S1M3ZW5LbzZGaXV3T3hnIiwibW4iOiI1NjE5NTk3MTgxIiwicm9sZSI6MCwiaWF0IjoxNzM1NDA0ODk2LCJleHAiOjE3MzU0MTIwOTYsImFwcEtleSI6ImtpdlZvQzdLUzdlbktvNkZpdXdPeGciLCJ0b2tlbkV4cCI6MTczNTQxMjA5Nn0.uKiEyr_tfic-j4I-TYTNSKXwInXGZzabI2-VtkinbAM

I tried to debug it using jwt io (read Troubleshooting Meeting SDK signature validation) and it is indeed invalid. I don’t know why tho, i have compared with an example token in one of the repo.

({
  "signature": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzZGtLZXkiOiJhYmMxMjMiLCJtbiI6IjEyMzQ1Njc4OSIsInJvbGUiOjAsImlhdCI6MTY0NjkzNzU1MywiZXhwIjoxNjQ2OTQ0NzUzLCJhcHBLZXkiOiJhYmMxMjMiLCJ0b2tlbkV4cCI6MTY0Njk0NDc1M30.UcWxbWY-y22wFarBBc9i3lGQuZAsuUpl8GRR8wUah2M"
})

But doesn’t seem to have a major difference tbh.

Thanks in advance.

Best,
J

I am facing same problem. Please, help me if you have resolved this issue.

@latenytcoffee ,
Have you had a chance to check out this video on troubleshooting SDK signatures for Meeting SDK: