Integrating Auth0 2FA on OpenResty 1.11.2.2 and Proxy to Internal Web Server

Has anyone successfully setup a login page with Auth0 2FA on OpenResty or nginx to froward after auth to an Internal Web Server?

Currently attempting this with “JWT Auth for Nginx” LUA script (nginx-jwt/README.md at master · auth0/nginx-jwt · GitHub) but cannot seem to get anything to work properly.

Any examples or step-by-step guide would be greatly appreciated.