From 74fb5f31f56cbbf594d24151e5fe9eff01b992b5 Mon Sep 17 00:00:00 2001 From: Aad Versteden Date: Fri, 29 Oct 2021 14:41:15 +0200 Subject: [PATCH] Return torrii redirect on /authorization/callback --- config/dispatcher/dispatcher.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/dispatcher/dispatcher.ex b/config/dispatcher/dispatcher.ex index fd805e9..1b4c4f8 100644 --- a/config/dispatcher/dispatcher.ex +++ b/config/dispatcher/dispatcher.ex @@ -252,8 +252,8 @@ defmodule Dispatcher do # frontend layer ############################################################### - match "/torii/redirect.html", %{ accept: [:html], layer: :api } do - Proxy.forward conn, [], "http://frontend/torii/redirect.html" + match "/authorization/callback/*_path", %{ accept: [:html], layer: :api } do + Proxy.forward conn, [], "http://frontend/torii/redirect.html" end match "/assets/*path", %{ layer: :api } do