Instruction: Describe the process of securing a Node.js REST API using OAuth2, including the flow and necessary components.
Context: Candidates are expected to detail how OAuth2 can be integrated into Node.js REST APIs for security, discussing the authentication flow, tokens, and how to protect routes.