All quizzes
Free quiz · 20 questions in the bank

OAuth quiz

Test your OAuth knowledge with a free interactive quiz — 20 questions with answers and explanations. No signup needed to play.

Question 1/5Score 0

What is OpenID Connect (OIDC), and how does it relate to OAuth 2.0?

Questions in this quiz
  1. What is OpenID Connect (OIDC), and how does it relate to OAuth 2.0?
  2. What is the key difference between "authentication" and "authorization," and how does this distinction relate to what OAuth was originally designed to solve?
  3. What is the "Authorization Code" grant type in OAuth 2.0, and why is it generally considered the most secure/recommended flow for a typical web application with a backend server?
  4. Why is the OAuth "Implicit" grant type (which directly returned an access token in a browser redirect URL fragment, without an intermediate authorization code exchange step) now generally discouraged in favor of the Authorization Code flow (with PKCE) even for browser-based/SPA clients?
  5. What is a "state" parameter commonly used for in an OAuth 2.0 authorization request, and what security risk does it help mitigate?
  6. What is a "JWT" (JSON Web Token), and why is it commonly used as the format for OAuth/OIDC tokens (like an ID token)?
  7. What is OAuth (2.0), at its core purpose?
  8. What is a common security risk associated with an "open redirect" vulnerability in the context of an OAuth authorization flow's redirect URI, and why do OAuth providers typically require pre-registering exact allowed redirect URIs?
  9. What is the "Client Credentials" grant type in OAuth 2.0 typically used for, as distinct from flows involving an actual end user (like the Authorization Code flow)?
  10. What is a "scope" in an OAuth 2.0 authorization request, and what does it let a user control?
  11. What are the key "roles" defined in the OAuth 2.0 framework — the Resource Owner, Client, Authorization Server, and Resource Server?
  12. What is a "confidential client" versus a "public client" in OAuth 2.0 terminology, and why does this distinction matter for choosing an appropriate grant type/flow?
Gaps to close?
Read the curated OAuth notes — core concepts, patterns, interview prep.
OAuth notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web