Authorization Code · PKCE · OIDC Tokens · Redirect URI · Discovery · Refresh Token Rotation
120 scenario questions · 180 min · 70% Techclick practice target
⚠️ Exam Rules
| Questions in this Techclick bank | 120 |
|---|---|
| Timer | 180 min |
| Techclick practice target | 70% |
| Official exam code | OAUTH-PKCE |
A React single-page app exchanges an authorization code at the token endpoint and receives invalid_grant after users return from the identity provider. Browser logs show the app regenerated local flow state after a reload. Which root cause best fits the failure?
Correct: A. PKCE binds the authorization request to the token request through the code_verifier and code_challenge. If the app loses that verifier, the code exchange should fail. A public SPA cannot protect a client secret, TLS inspection does not repair lost verifier state, and implicit flow avoids the wrong problem while weakening the design.
A mobile team asks which PKCE properties should be enforced before approving their OAuth rollout. Which TWO checks are most important for a modern public client?
Correct: A and B. A strong PKCE implementation uses a fresh high-entropy verifier and the S256 transformed challenge. A static verifier is replayable, state still protects front-channel session binding, and authorization codes should be short lived and single use. These controls reduce code interception and code injection risk.
During review, an authorization server accepts redirect_uri=https://app.example.com/callback/anything for a client registered with https://app.example.com/callback. Which finding should be raised first?
Correct: A. Loose redirect matching can turn an OAuth client into an authorization-code delivery tool for attacker-controlled endpoints. Exact matching or strictly registered redirect variants are the expected control. Domain-only trust, token fragments, and HTTP callbacks do not address open redirect or callback substitution risk.
A web app uses OIDC for login and OAuth for API access. Which TWO request values should be stored server-side or in protected transient client state and verified when the user returns?
Correct: A and B. State protects the authorization response from CSRF and request confusion, while nonce protects an OIDC authentication response from replay or token substitution. Scope still needs validation but is not the front-channel correlation secret. Access tokens and client secrets should not be exposed in callback URLs or browser storage.
A legacy training portal still uses response_type=token and receives access tokens directly through the browser front channel. Which modernization path should be recommended?
Correct: A. The implicit response type exposes tokens through the browser front channel and is deprecated by current OAuth security guidance. Authorization code with PKCE gives the client a back-channel token exchange and verifier binding. Longer token lifetime, password grants, and wider scopes increase risk instead of fixing the flow.
Last updated:
Yes. You can start, finish and score it for free, and download the Techclick practice certificate.
This bank has 120 original scenario-based questions with a 180-minute timer and a 70% Techclick practice target.
OAUTH-PKCE is the label Techclick uses for this practice set. Check the official OAuth and OIDC certification page for the current exam code.
No. They are original practice questions written by Techclick. This is not the vendor's official exam and not leaked dumps.
Score 70% or higher to get a Techclick practice certificate and LinkedIn badge. It is not an official OAuth and OIDC certification.
Use the OAuth and OIDC practice exams page (linked above) to pick the next practice test in the same track.

You earned it — let the world know!
