Return torrii redirect on /authorization/callback

This commit is contained in:
Aad Versteden
2021-10-29 14:41:15 +02:00
parent d370f3dfd6
commit 74fb5f31f5

View File

@@ -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