# Node-red under Azure App Service adminAuth login failure

**URL:** <https://discourse.nodered.org/t/node-red-under-azure-app-service-adminauth-login-failure/14408>\
**Category:** General\
**Created:** [16 August 2019 20:09 UTC](https://discourse.nodered.org/t/node-red-under-azure-app-service-adminauth-login-failure/14408 "2019-08-16T20:09:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![justoke](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@justoke](https://discourse.nodered.org/u/justoke)\
**Post date:** [16 August 2019 20:09 UTC](https://discourse.nodered.org/t/node-red-under-azure-app-service-adminauth-login-failure/14408/1 "2019-08-16T20:09:35Z")

</div>

I have had some success running node-red using the method described in this [project](https://github.com/jmservera/node-red-azure-webapp). This basically deploys a node application hosted on Azure App service under a Windows IISNode.

The technique used in that project is similar to that described on the node-red site on embedding into an existing app. This works absolutely fine, except if you try to enable the adminAuth. The login page is shown but the login always fails.

The [app](https://github.com/jmservera/node-red-azure-webapp/blob/master/server.js) that is embedding node-red looks almost like the embedding example so it seems that some setting or configuration is needed to accommodate the login process.

![LoginError](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/d/ddd882cfae5c51758fc211e4c5ba3d1e48c2c14a.png)

---

<div class="post-metadata">

**Author:** ![justoke](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@justoke](https://discourse.nodered.org/u/justoke)\
**Post date:** [16 August 2019 20:55 UTC](https://discourse.nodered.org/t/node-red-under-azure-app-service-adminauth-login-failure/14408/2 "2019-08-16T20:55:19Z")

</div>

Typical! After three long days and nights, and within minutes of posting this, I just changed the node version from 8.9 to 10.14.1 and it started to work!😂
