Skip to content
javabypankaj
HomeLibraryPopularCommunity
22
Security
4 topics · 20 questions
1Authentication & Authorization0/442JWT: Structure, Validation, Storage0/443OAuth2 & OpenID Connect0/54Web Vulnerabilities: SQLi, XSS, CSRF, SSRF0/77
1Authentication & Authorization42JWT: Structure, Validation, Storage43OAuth2 & OpenID Connect54Web Vulnerabilities: SQLi, XSS, CSRF, SSRF7
4 topics20 Qs0%
01Core Java17002OOP3203Collections6704Exception Handling2805Concurrency & Multithreading12706Java Streams, Lambda & Functional Programming32807Spring & Spring Boot2608Transactions3209JPA & Hibernate6910Microservices19411Kafka & Messaging9112DevOps, CI/CD & Tooling13313Database & SQL14114REST API & Web4015Design Patterns & LLD5716Advanced Java7117Coding Problems: DSA49218AWS & Cloud4119Data Engineering19420QA, Testing & SDET4121System Design3522Security2023Behavioral / HR: STAR Method37
4Topics
20Questions
0%Complete
3 of 4 topics
Topics
1Authentication & Authorization0/442JWT: Structure, Validation, Storage0/44
3OAuth2 & OpenID Connect0/55
4Web Vulnerabilities: SQLi, XSS, CSRF, SSRF0/77

OAuth2 & OpenID Connect

Security·Topic 3 of 4·5 questions
Q1OAuth2: Delegated Authorization and Its Four Roles

OAuth2 lets you grant an app limited, revocable access to your data without ever giving it your password.

Read Answer
Q2OpenID Connect (OIDC): Authentication Layer on Top of OAuth2

OAuth2 answers what the app may do; OIDC adds a signed ID token that answers who the user is.

Read Answer
Q3PKCE (Proof Key for Code Exchange) for Mobile and SPA Clients

PKCE binds the code to a one-time secret only the real client knows, so a stolen code cannot be redeemed.

Read Answer
Q4OAuth2 Authorization Code Flow and Why the Code Exchange Is Server-to-Server

The browser only carries a throwaway code; the real token is swapped privately on the backend using the client secret.

Read Answer
Q5OAuth2 Client Credentials Flow for Machine-to-Machine Authentication

Client Credentials is a service authenticating as itself, with no user and no consent, to call another service.

Read Answer
Previous · Topic 2JWT: Structure, Validation, Storage4 questionsNext · Topic 4Web Vulnerabilities: SQLi, XSS, CSRF, SSRF7 questions
javabypankaj© 2026 javabypankaj
PrivacyTerms
HomeSearchLibrary