From 786217b753d96979436cbb4087a912e2b130a08f Mon Sep 17 00:00:00 2001 From: Valentino Kozinec Date: Wed, 19 Jan 2022 09:59:38 +0100 Subject: [PATCH] Fix --- src/services/auth/redux/actions.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/services/auth/redux/actions.ts b/src/services/auth/redux/actions.ts index 770bd8e..7a27650 100644 --- a/src/services/auth/redux/actions.ts +++ b/src/services/auth/redux/actions.ts @@ -18,11 +18,8 @@ const signOutAction = (): SuccessAction => ({ export const signIn = (state: string) => createApiAction( { - path: '/hydra/callback', + path: `/hydra/callback?state=${state}`, method: 'GET', - headers: { - state, - }, }, [AuthActionTypes.SIGN_IN_START, AuthActionTypes.SIGN_IN_SUCCESS, AuthActionTypes.SIGN_IN_FAILURE], );