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

**URL:** <https://community.auth0.com/t/integrating-auth0-2fa-on-openresty-1-11-2-2-and-proxy-to-internal-web-server/6265>\
**Category:** Get Help\
**Tags:** lua, openresty, nginx, 2fa, auth0\
**Created:** [April 19, 2017, 1:43am UTC](https://community.auth0.com/t/integrating-auth0-2fa-on-openresty-1-11-2-2-and-proxy-to-internal-web-server/6265 "2017-04-19T01:43:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaron1](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@aaron1](https://community.auth0.com/u/aaron1)\
**Post date:** [April 19, 2017, 1:43am UTC](https://community.auth0.com/t/integrating-auth0-2fa-on-openresty-1-11-2-2-and-proxy-to-internal-web-server/6265/1 "2017-04-19T01:43:12Z")

</div>

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](https://github.com/auth0/nginx-jwt/blob/master/README.md)) but cannot seem to get anything to work properly.

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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:53am UTC](https://community.auth0.com/t/integrating-auth0-2fa-on-openresty-1-11-2-2-and-proxy-to-internal-web-server/6265/2 "2018-03-02T05:53:20Z")

</div>


