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 -
@rossmaclean that should all be needed. But did you try a fresh install instead of updating an existing app ?
-
@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.
-
-