diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/routes/authentication_controller.py b/spiffworkflow-backend/src/spiffworkflow_backend/routes/authentication_controller.py index d83672d1..79ff9ef4 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/routes/authentication_controller.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/routes/authentication_controller.py @@ -465,7 +465,7 @@ def _parse_id_token(token: str) -> Any: def _get_authentication_identifier_from_request() -> str: if "authentication_identifier" in request.cookies: return request.cookies["authentication_identifier"] - if "Authentication-Identifier" in request.headers: - authentication_identifier: str = request.headers["Authentication-Identifier"] + if "SpiffWorkflow-Authentication-Identifier" in request.headers: + authentication_identifier: str = request.headers["SpiffWorkflow-Authentication-Identifier"] return authentication_identifier return "default" diff --git a/spiffworkflow-frontend/src/services/HttpService.ts b/spiffworkflow-frontend/src/services/HttpService.ts index 44b6293c..fee597d3 100644 --- a/spiffworkflow-frontend/src/services/HttpService.ts +++ b/spiffworkflow-frontend/src/services/HttpService.ts @@ -12,7 +12,7 @@ export const getBasicHeaders = (): Record => { if (UserService.isLoggedIn()) { return { Authorization: `Bearer ${UserService.getAccessToken()}`, - 'Authentication-Identifier': + 'SpiffWorkflow-Authentication-Identifier': UserService.getAuthenticationIdentifier() || '', }; }