17 questions for “Passport)”

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

Information Technology

17 questions in 1 technology

#QuestionTechnologyTopicLevel
1How 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
2How 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
3How 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
4What 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
5What 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
6What is the difference between authentication and authorization in a Node.js application? Node.js › Authentication & AuthorizationNode.jsAuthentication & AuthorizationBeginner
7How 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
8What is a JSON Web Token (JWT), and what are its three parts? Node.js › Authentication & AuthorizationNode.jsAuthentication & AuthorizationIntermediate
9What is Passport.js, and how do its 'strategies' provide a consistent authentication abstraction across different methods? Node.js › Authentication & AuthorizationNode.jsAuthentication & AuthorizationIntermediate
10What does the node:crypto module provide, and what's the difference between hashing and encryption? Node.js › Core Node.js ModulesNode.jsCore Node.js ModulesIntermediate