nerdexam
Cisco

300-920 · Question #54

Drag and Drop Question Drag and drop the code to create a valid Guest Issuer JWT token to use with the Webex Teams Browser SDK. Not all options are used. Answer:

The correct answer is User Identifier; User Display Name; Guest Application Identifier; Guest Application Secret; Time span or seconds count. Webex Guest Issuer JWT Token - Drag & Drop Explained A Webex Guest Issuer JWT is built by constructing a payload with specific claims, then signing it with a secret and setting an expiration. The ordering maps directly to how JWT libraries (e.g., jsonwebtoken) expect the…

Webex Devices and SDKs

Question

Drag and Drop Question Drag and drop the code to create a valid Guest Issuer JWT token to use with the Webex Teams Browser SDK. Not all options are used. Answer:

Exhibit

300-920 question #54 exhibit

Answer Area

Drag items

Time span or seconds countGuest Application IdentifierUser Display NameGuest User KeyGuest Application SecretUser Identifier

Correct arrangement

  • User Identifier
  • User Display Name
  • Guest Application Identifier
  • Guest Application Secret
  • Time span or seconds count

Explanation

Webex Guest Issuer JWT Token - Drag & Drop Explained

A Webex Guest Issuer JWT is built by constructing a payload with specific claims, then signing it with a secret and setting an expiration. The ordering maps directly to how JWT libraries (e.g., jsonwebtoken) expect the arguments.


The Code Structure

const payload = {
  sub:  /* 1. User Identifier      */,
  name: /* 2. User Display Name    */,
  iss:  /* 3. Guest App Identifier */,
};

const token = jwt.sign(
  payload,
  /* 4. Guest Application Secret */,
  { expiresIn: /* 5. Time span or seconds count */ }
);

Item-by-Item Explanation

#ItemJWT ClaimWhy Here
1User Identifiersub (subject)Uniquely identifies who this token represents - the guest user's ID. Always the first payload claim in Webex's spec.
2User Display NamenameThe display name shown in Webex meetings/spaces. Goes in the payload alongside sub.
3Guest Application Identifieriss (issuer)Tells Webex which registered guest app issued this token. Webex uses this to look up the secret for verification.
4Guest Application SecretSigning keyUsed to cryptographically sign the JWT. This is the jwt.sign() second argument - it comes after the payload is fully defined.
5Time span or seconds countexp / expiresInSets how long the token is valid. Always the last piece - it's a signing option, not a payload field you set manually.

The Unused Item: "Guest User Key"

Guest User Key is the trap answer. There is no such field in the Webex Guest Issuer JWT spec. Candidates confuse it with either:

  • The User Identifier (sub) - the user has an ID, not a "key"
  • The Guest Application Secret - that belongs to the app, not the user

Common Misconceptions

  • Secret before identifier: Some swap items 3 and 4, but the secret is never in the payload - it's the signing key passed separately to jwt.sign().
  • Expiration in the payload: Some try to put exp as a manual payload field before signing. While technically valid in JWT, Webex's SDK implementation expects expiresIn as a signing option.
  • Including Guest User Key: There is no guest-user-level key in this flow - the application secret authenticates the whole app, not individual users.

Topics

#JWT Token Generation#Guest Issuer#Webex Browser SDK#Authentication

Community Discussion

No community discussion yet for this question.

Full 300-920 Practice