From ef945c458cb14a2c2728ccbab3ed5e434e0033b0 Mon Sep 17 00:00:00 2001 From: Kevin Burnett <18027+burnettk@users.noreply.github.com> Date: Fri, 29 Mar 2024 15:53:07 +0000 Subject: [PATCH] log configured frontend url (#1304) * log configured frontend url * be more precise --------- Co-authored-by: burnettk --- .../spiffworkflow_backend/routes/authentication_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/routes/authentication_controller.py b/spiffworkflow-backend/src/spiffworkflow_backend/routes/authentication_controller.py index eb5e5295..d5b5e1ef 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/routes/authentication_controller.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/routes/authentication_controller.py @@ -115,7 +115,7 @@ def login( frontend_url = str(current_app.config.get("SPIFFWORKFLOW_BACKEND_URL_FOR_FRONTEND")) if not redirect_url.startswith(frontend_url): raise InvalidRedirectUrlError( - f"Invalid redirect url was given: '{redirect_url}'. It must match the domain the frontend is running on." + f"Invalid redirect url was given: '{redirect_url}'. It must start with the frontend url: '{frontend_url}'" ) if current_app.config.get("SPIFFWORKFLOW_BACKEND_AUTHENTICATION_DISABLED"):