Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Ping Identity PT-AM-CPE Exam - Topic 5 Question 11 Discussion

Examine the following JWT client assertion in JSON format. From the subset of claims listed below, which claim can be optional?JSONJSON{"iss": "myClient","sub": "myClient","aud": "https://am.example.com/login/oauth2/access_token","jti": "id012345","exp": 1633363568,"iat": 1633356368}
A) jti
B) aud
C) iss
D) sub

Ping Identity PT-AM-CPE Exam - Topic 5 Question 11 Discussion

Actual exam question for Ping Identity's PT-AM-CPE exam
Question #: 11
Topic #: 5
[All PT-AM-CPE Questions]

Examine the following JWT client assertion in JSON format. From the subset of claims listed below, which claim can be optional?

JSON

JSON

{

"iss": "myClient",

"sub": "myClient",

"aud": "https://am.example.com/login/oauth2/access_token",

"jti": "id012345",

"exp": 1633363568,

"iat": 1633356368

}

Show Suggested Answer Hide Answer
Suggested Answer: A

When an OAuth2 client uses Private Key JWT or Client Secret JWT for authentication at the PingAM 8.0.2 token endpoint, it must present a JWT (JSON Web Token) containing specific claims that identify and authorize the client. This is governed by the OIDC and OAuth2 JWT Profile specifications (RFC 7523).

According to the PingAM documentation on 'OAuth 2.0 Client Authentication' and the 'JWT Profile for Client Authentication':

iss (Issuer): Mandatory. This must be the client_id of the OAuth2 client.

sub (Subject): Mandatory. This must also be the client_id of the OAuth2 client (as the client is the subject of the authentication).

aud (Audience): Mandatory. This must be the URL of the PingAM OAuth2 service (the token endpoint) or the issuer URL.

exp (Expiration Time): Mandatory. This protects against the long-term use of intercepted assertions.

The jti (JWT ID) (Option A) provides a unique identifier for the token. In the context of standard JWT validation, jti is used to prevent replay attacks by ensuring that a specific token is only processed once. While highly recommended for security hardening, the PingAM 8.0.2 technical reference for OAuth2 client assertions marks jti as optional unless the server is explicitly configured to require it for replay detection. Without a jti, PingAM will still validate the iss, sub, aud, and exp claims to authenticate the client. Therefore, among the choices provided, jti is the claim that can be omitted without inherently violating the base OAuth2 JWT authentication request requirements.

============


Contribute your Thoughts:

0/2000 characters
Could it be "sub"? I think it can sometimes be optional depending on the context of the application.
upvoted 0 times
...
Ashton
5 days ago
I practiced a similar question, and I feel like "iss" is often mandatory for identifying the issuer.
upvoted 0 times
...
Ty
10 days ago
I'm not entirely sure, but I remember that "aud" is usually required for audience validation.
upvoted 0 times
...
Temeka
15 days ago
I think the "jti" claim might be optional since it's just a unique identifier for the token, right?
upvoted 0 times
...

Save Cancel