OAuth & OIDC & JWT interview questions

69 real OAuth & OIDC & JWT questions from the Security bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.

1. What is OAuth 2.0?

Junior
  1. A.long-lived credential used to obtain new access tokens without re-authenticating the user
  2. B.JWT attack where the signature algorithm is set to none so an unsigned token is wrongly accepted
  3. C.OAuth mechanism limiting the specific permissions an access token grants to a resource
  4. D.authorization framework letting an app obtain delegated access to resources without sharing credentials
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Junior
  1. A.OAuth 2.0 — JWT attack where the signature algorithm is set to none so an unsigned token is wrongly accepted
  2. B.OAuth 2.0 — deprecated OAuth flow returning tokens directly in the redirect URL, vulnerable to leakage
  3. C.OAuth 2.0 — accepting a token minted for a different audience, enabling cross-service token reuse
  4. D.OAuth 2.0 — authorization framework letting an app obtain delegated access to resources without sharing credentials
Reveal the answer + AI explanation — free account

4. What is OpenID Connect (OIDC)?

Junior
  1. A.long-lived credential used to obtain new access tokens without re-authenticating the user
  2. B.authentication layer built on OAuth 2.0 that adds an ID token proving the user's identity
  3. C.statements in a token payload such as iss (issuer), sub (subject), aud (audience), and exp (expiry)
  4. D.JSON Web Token, a signed (and optionally encrypted) token with header, payload claims, and signature
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Junior
  1. A.OpenID Connect (OIDC) — authentication layer built on OAuth 2.0 that adds an ID token proving the user's identity
  2. B.OpenID Connect (OIDC) — statements in a token payload such as iss (issuer), sub (subject), aud (audience), and exp (expiry)
  3. C.OpenID Connect (OIDC) — endpoint a resource server calls to check whether a token is active and its associated metadata
  4. D.OpenID Connect (OIDC) — OIDC token (a JWT) asserting the authenticated user's identity to the client application
Reveal the answer + AI explanation — free account

7. What is JWT?

Junior
  1. A.long-lived credential used to obtain new access tokens without re-authenticating the user
  2. B.authorization framework letting an app obtain delegated access to resources without sharing credentials
  3. C.JSON Web Token, a signed (and optionally encrypted) token with header, payload claims, and signature
  4. D.JSON Web Encryption, a JWT variant whose payload is encrypted rather than merely signed
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Junior
  1. A.JWT — authorization framework letting an app obtain delegated access to resources without sharing credentials
  2. B.JWT — Proof Key for Code Exchange, an extension protecting the authorization code flow against interception, required for public clients
  3. C.JWT — JSON Web Token, a signed (and optionally encrypted) token with header, payload claims, and signature
  4. D.JWT — opaque value tying an OAuth authorization request to its callback to prevent CSRF
Reveal the answer + AI explanation — free account

10. What is Access token?

Junior
  1. A.JWT attack where the signature algorithm is set to none so an unsigned token is wrongly accepted
  2. B.Proof Key for Code Exchange, an extension protecting the authorization code flow against interception, required for public clients
  3. C.invalidating a token before its expiry, typically via a revocation endpoint or denylist
  4. D.credential representing granted authorization that a client presents to access a protected resource
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Junior
  1. A.Access token — authentication layer built on OAuth 2.0 that adds an ID token proving the user's identity
  2. B.Access token — JSON Web Token, a signed (and optionally encrypted) token with header, payload claims, and signature
  3. C.Access token — credential representing granted authorization that a client presents to access a protected resource
  4. D.Access token — deprecated OAuth flow returning tokens directly in the redirect URL, vulnerable to leakage
Reveal the answer + AI explanation — free account

13. What is ID token?

Junior
  1. A.endpoint a resource server calls to check whether a token is active and its associated metadata
  2. B.OAuth flow where the client exchanges a short-lived code for tokens via a back-channel request
  3. C.Proof Key for Code Exchange, an extension protecting the authorization code flow against interception, required for public clients
  4. D.OIDC token (a JWT) asserting the authenticated user's identity to the client application
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Junior
  1. A.ID token — long-lived credential used to obtain new access tokens without re-authenticating the user
  2. B.ID token — accepting a token minted for a different audience, enabling cross-service token reuse
  3. C.ID token — OIDC token (a JWT) asserting the authenticated user's identity to the client application
  4. D.ID token — opaque value tying an OAuth authorization request to its callback to prevent CSRF
Reveal the answer + AI explanation — free account

16. What is Refresh token?

Junior
  1. A.long-lived credential used to obtain new access tokens without re-authenticating the user
  2. B.authentication layer built on OAuth 2.0 that adds an ID token proving the user's identity
  3. C.JSON Web Encryption, a JWT variant whose payload is encrypted rather than merely signed
  4. D.OAuth mechanism limiting the specific permissions an access token grants to a resource
Reveal the answer + AI explanation — free account

18. Which statement is correct?

Junior
  1. A.Refresh token — long-lived credential used to obtain new access tokens without re-authenticating the user
  2. B.Refresh token — deprecated OAuth flow returning tokens directly in the redirect URL, vulnerable to leakage
  3. C.Refresh token — authorization framework letting an app obtain delegated access to resources without sharing credentials
  4. D.Refresh token — Proof Key for Code Exchange, an extension protecting the authorization code flow against interception, required for public clients
Reveal the answer + AI explanation — free account

19. What is Authorization Code flow?

Mid
  1. A.OAuth flow where the client exchanges a short-lived code for tokens via a back-channel request
  2. B.Proof Key for Code Exchange, an extension protecting the authorization code flow against interception, required for public clients
  3. C.JSON Web Encryption, a JWT variant whose payload is encrypted rather than merely signed
  4. D.deprecated OAuth flow returning tokens directly in the redirect URL, vulnerable to leakage
Reveal the answer + AI explanation — free account

21. Which statement is correct?

Mid
  1. A.Authorization Code flow — authentication layer built on OAuth 2.0 that adds an ID token proving the user's identity
  2. B.Authorization Code flow — prompt where a resource owner approves the specific scopes an app is requesting
  3. C.Authorization Code flow — OAuth flow for machine-to-machine access where the app authenticates as itself with no user
  4. D.Authorization Code flow — OAuth flow where the client exchanges a short-lived code for tokens via a back-channel request
Reveal the answer + AI explanation — free account

22. What is JWT claims?

Mid
  1. A.long-lived credential used to obtain new access tokens without re-authenticating the user
  2. B.OAuth mechanism limiting the specific permissions an access token grants to a resource
  3. C.credential representing granted authorization that a client presents to access a protected resource
  4. D.statements in a token payload such as iss (issuer), sub (subject), aud (audience), and exp (expiry)
Reveal the answer + AI explanation — free account

24. Which statement is correct?

Mid
  1. A.JWT claims — OAuth flow where the client exchanges a short-lived code for tokens via a back-channel request
  2. B.JWT claims — JSON Web Key Set endpoint publishing the public keys clients use to verify a token's signature
  3. C.JWT claims — statements in a token payload such as iss (issuer), sub (subject), aud (audience), and exp (expiry)
  4. D.JWT claims — prompt where a resource owner approves the specific scopes an app is requesting
Reveal the answer + AI explanation — free account

25. What is Scope?

Mid
  1. A.JSON Web Token, a signed (and optionally encrypted) token with header, payload claims, and signature
  2. B.OAuth flow where the client exchanges a short-lived code for tokens via a back-channel request
  3. C.OIDC token (a JWT) asserting the authenticated user's identity to the client application
  4. D.OAuth mechanism limiting the specific permissions an access token grants to a resource
Reveal the answer + AI explanation — free account

27. Which statement is correct?

Mid
  1. A.Scope — Proof Key for Code Exchange, an extension protecting the authorization code flow against interception, required for public clients
  2. B.Scope — accepting a token minted for a different audience, enabling cross-service token reuse
  3. C.Scope — credential representing granted authorization that a client presents to access a protected resource
  4. D.Scope — OAuth mechanism limiting the specific permissions an access token grants to a resource
Reveal the answer + AI explanation — free account

28. What is Bearer token?

Mid
  1. A.authentication layer built on OAuth 2.0 that adds an ID token proving the user's identity
  2. B.statements in a token payload such as iss (issuer), sub (subject), aud (audience), and exp (expiry)
  3. C.token granting access to whoever presents it, requiring transport encryption and careful storage
  4. D.OAuth mechanism limiting the specific permissions an access token grants to a resource
Reveal the answer + AI explanation — free account

30. Which statement is correct?

Mid
  1. A.Bearer token — token granting access to whoever presents it, requiring transport encryption and careful storage
  2. B.Bearer token — OAuth flow for machine-to-machine access where the app authenticates as itself with no user
  3. C.Bearer token — JWT attack where the signature algorithm is set to none so an unsigned token is wrongly accepted
  4. D.Bearer token — Demonstrating Proof-of-Possession that binds a token to a client key so a stolen token is unusable
Reveal the answer + AI explanation — free account

Showing 30 of 69 OAuth & OIDC & JWT questions — the full set, with answers, explanations and an AI tutor on every question, is inside.

Free to start

Answers, AI explanations, and a scored voice mock interview

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.

Practice OAuth & OIDC & JWT free