17 questions for “Authentication & Authorization (JWT”

Found in 1 field. Select a question to see its full answer.

Information Technology

17 questions in 1 technology

#QuestionTechnologyTopicLevel
1What is the difference between authentication and authorization in a Node.js application? Node.js › Authentication & AuthorizationNode.jsAuthentication & AuthorizationBeginner
2How do JWTs, OAuth, and Passport.js fit together in a typical Node.js authentication architecture? Node.js › Authentication & Authorization (JWT, OAuth, Passport)Node.jsAuthentication & Authorization (JWT, OAuth, Passport)Intermediate
3How does session-based authentication work in a Node.js/Express application, and what does the session store need to handle? Node.js › Authentication & AuthorizationNode.jsAuthentication & AuthorizationIntermediate
4What is a JSON Web Token (JWT), and what are its three parts? Node.js › Authentication & AuthorizationNode.jsAuthentication & AuthorizationIntermediate
5What is Passport.js, and how do its 'strategies' provide a consistent authentication abstraction across different methods? Node.js › Authentication & AuthorizationNode.jsAuthentication & AuthorizationIntermediate
6How does the OAuth 2.0 Authorization Code flow work, and what role does Node.js typically play as the client or the resource server? Node.js › Authentication & AuthorizationNode.jsAuthentication & AuthorizationAdvanced
7How would you implement 'Sign in with GitHub' using Passport's OAuth strategy in an Express application? Node.js › Authentication & Authorization (JWT, OAuth, Passport)Node.jsAuthentication & Authorization (JWT, OAuth, Passport)Intermediate
8How do you validate a JWT's claims (issuer, audience, expiration) beyond just verifying its cryptographic signature? Node.js › Authentication & Authorization (JWT, OAuth, Passport)Node.jsAuthentication & Authorization (JWT, OAuth, Passport)Intermediate
9What is token introspection, and when is it needed instead of simply verifying a JWT's signature locally? Node.js › Authentication & Authorization (JWT, OAuth, Passport)Node.jsAuthentication & Authorization (JWT, OAuth, Passport)Advanced
10What is PKCE (Proof Key for Code Exchange), and why is it now recommended for OAuth flows even in traditional server-side Node.js applications? Node.js › Authentication & Authorization (JWT, OAuth, Passport)Node.jsAuthentication & Authorization (JWT, OAuth, Passport)Advanced