Okta Import Password Hook: Verify User Password and Import into Okta

Complete overview and step-by-step guide: Okta Developer Blog

A Node.js application written to receive Inline Hook Requests for password migration from Okta.
User credentials are verified against a Sqlite Table and a response is returned to Okta indicating if the password was verified or unverified.

If users credentials are verified the user is logged in and the password is stored in Okta for future authentication.
If the users credentials are not verified log in is blocked and the password is not stored.

The inline hook will continue to be called each time the user attempts to log in until password is verified and stored or the password is reset in Okta.

Password Import Inline Hook Endpoint: /passwordImport
View Database User Credentials: /getUsers