This post shows how to create a very basic Node.js API that authenticates users via local credentials stored in an Oracle Database table and uses JSON Web Tokens to identify users after they’ve been authenticated. Once understood, the concepts used here could be adapted to better fit your specific authentication needs.
Authentication with Node.js, JWTs, and Oracle Database