You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_See issue [#35](https://github.com/steveiliop56/tinyauth/issues/35) by [Aleksey](https://github.com/liveder)_
23
+
24
+
## Tinyauth behind proxy
25
+
26
+
In some environments you may need to use tinyauth in another proxy and to do this securely you may have to expose it. For example you may have tinyauth on `tinyauth.mydomain.com` and try to use the middleware from another proxy using `http://tinyauth.mydomain.com/api/auth/traefik`.
27
+
28
+
In this case traefik will not respect the `X-Forwarded-*` headers meaning that the `redirect_uri` in tinyauth will always point to tinyauth's domain (so `tinyauth.mydomain.com`) instead of the app's domain. To fix this, you can tell traefik to trust the headers. If your setup looks like the following:
0 commit comments