matrix-docker-ansible-deploy
matrix-docker-ansible-deploy copied to clipboard
External Reverse Proxy OIDC Problem
I've got a Problem while trying to setup Matrix with an external Proxy.
When I'm trying to click on "Login with Auth0" on Element, my Webbrowser shows:
"Error to many redirects"
Is the redirection wrong?
Currently it's going to:
https://matrix.example.de/_matrix/client/r0/login/sso/redirect/oidc-auth0?redirectUrl=https%3A%2F%2Felement.example.de%2F
Everything else is working fine.
My external Proxy is a nginx reverse proxy and setup with this config on another server.
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name matrix.*;
server_name element.*;
include /config/nginx/ssl.conf;
#client_max_body_size 0;
location / {
client_max_body_size 50M;
include /config/nginx/proxy-matrix.conf;
include /config/nginx/resolver.conf;
set $upstream_app 10.0.20.20;
set $upstream_port 81;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
}
Is your bug similar to this error here? https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1132
@xXTim97Xx Have you been able to solve this? I'm running into the same issue with KeyCloak Auth ... :(