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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login