log configured frontend url (#1304)

* log configured frontend url

* be more precise

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
This commit is contained in:
Kevin Burnett 2024-03-29 15:53:07 +00:00 committed by GitHub
parent 9590101312
commit ef945c458c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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"):