From 9d2fa27aa8cc5ba57ec806b484bbfd03249286d1 Mon Sep 17 00:00:00 2001 From: Mike Cifelli <26522946+macifell@users.noreply.github.com> Date: Tue, 5 Dec 2023 17:22:40 -0500 Subject: [PATCH] Use correct parameter for redirect --- lib/recognizer_web/authentication.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/recognizer_web/authentication.ex b/lib/recognizer_web/authentication.ex index f36a97d..b7199c2 100644 --- a/lib/recognizer_web/authentication.ex +++ b/lib/recognizer_web/authentication.ex @@ -115,7 +115,7 @@ defmodule RecognizerWeb.Authentication do def logout_redirect(conn) do cond do get_session(conn, :bc) -> - BigCommerce.logout_redirect_uri() + [external: BigCommerce.logout_redirect_uri()] Map.has_key?(conn.query_params, "redirect_uri") -> [external: conn.query_params["redirect_uri"]]