Please go through the comments to understand what each JWT claim (parameter) does. It will help you restrict your meetings better. A JSON Web Token has three parts – Header, Payload and Signature.
M = Mandatory Claim
O = Optional Claim
xxxxxxxxxx61// JWT Header2{3 "kid": "paste_consumer_id_here", // (M) - Keyid. Your Clan Meeting Consumer ID.4 "alg": "RS256", // (M) - Algorithm used for signing JWT5 "typ": "JWT" // (M)6}
xxxxxxxxxx101// JWT Payload2{3 "sub": "paste_consumer_id_here", // (M) – Your Clan Meeting Consumer ID4 "aud": "clanmeeting", // (M) - Keep as is5 "iss": "production", // (M) – Keep as is 6 "room": "*", // (M) – Use "*" if same token can connect to any room. Otherwise, specify the roomName here. It should match the roomName being passed into the meeting URL.7 "exp": 1907852464, // (O) – Token will become invalid AFTER this time (epoch timestamp)8 "nbf": 1596197652, // (O) – Token will be invalid if used to authenticate BEFORE this time. Use this to schedule a meeting9 "context": {} // (M) Keep as is10}
xxxxxxxxxx21// JWT Signature2// Contents of Clan Meeting API key
