ProxyAuth Not Working
-
Hey,
I'm trying to use the proxyAuth addon with an app I've packaged. It's my understanding that the proxy auth sits between the reverse proxy and the app container and therefore requires no changes to my app code? The app I packaged is running Nginx to server a site so just confirming I don't need to make changes to the nginx config for that.
Here's my CloudronManifest
{ "version": "0.1.0", "healthCheckPath": "/", "httpPort": 80, "addons": { "localstorage": {}, "proxyAuth": {} }, "manifestVersion": 2 }
The issue I'm having is that when I go to my site it's not giving me the login prompt. I've tried on other devices/incognito etc in case it was caching the page/creds.
Cheers!
Ross -
Hey,
I'm trying to use the proxyAuth addon with an app I've packaged. It's my understanding that the proxy auth sits between the reverse proxy and the app container and therefore requires no changes to my app code? The app I packaged is running Nginx to server a site so just confirming I don't need to make changes to the nginx config for that.
Here's my CloudronManifest
{ "version": "0.1.0", "healthCheckPath": "/", "httpPort": 80, "addons": { "localstorage": {}, "proxyAuth": {} }, "manifestVersion": 2 }
The issue I'm having is that when I go to my site it's not giving me the login prompt. I've tried on other devices/incognito etc in case it was caching the page/creds.
Cheers!
Ross -
@rossmaclean that should all be needed. But did you try a fresh install instead of updating an existing app ?
@girish I didn't I was updating an existing app. Installing it fresh has fixed it!
Could the docs be updated to note that the app has to be completely reinstalled for it to work?
Cheers
-
@girish I didn't I was updating an existing app. Installing it fresh has fixed it!
Could the docs be updated to note that the app has to be completely reinstalled for it to work?
Cheers
@rossmaclean Currently, there is a limitation that "auth" stuff (including LDAP integration) cannot be turned on and off dynamically. It is chosen at install time. Since the app didn't have proxyAuth initially, it cannot be turned on later with an update.
Will put a note in the docs.
-
G girish marked this topic as a question on
-
G girish has marked this topic as solved on