Replies: 4 comments
-
|
cc @ncresswell for an update on this |
Beta Was this translation helpful? Give feedback.
-
|
We dont actually support (have not designed for) Portainer with oAUTH when behind a reverse proxy. There are other projects reporting similar issues, and some have reported success with setting ForwardedHeaderTransformer in their proxy settings. |
Beta Was this translation helpful? Give feedback.
-
|
Then I think this should be labelled as a feature request to support Oauth behind reverse proxy |
Beta Was this translation helpful? Give feedback.
-
|
+1 on this |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Bug description
I'm running Portainer behind a Traefik proxy, to serve it over HTTPS on a specific domain name. When I try to login using Google OAuth, Portainer thinks it is running on my IP address instead, and I end up with this error on Google:
The domain name I'm using is not specified as the
redirect_uri, even though it's configured like that on Google's end.Expected behavior
Portainer should use the domain name instead of the IP address of the server as
redirect_urifor Google OAuth, when running behind a reverse proxy.Steps to reproduce the issue:
Technical details:
Portainer version:
Docker version (managed by Portainer): 18.06.3-ce
Platform (windows/linux): Linux
Command used to start Portainer (
docker run -p 9000:9000 portainer/portainer):Browser: Google Chrome
Beta Was this translation helpful? Give feedback.
All reactions