This commit is contained in:
Valentino Kozinec 2022-01-19 09:59:38 +01:00
parent 3eaf001df7
commit 786217b753

View file

@ -18,11 +18,8 @@ const signOutAction = (): SuccessAction => ({
export const signIn = (state: string) => export const signIn = (state: string) =>
createApiAction( createApiAction(
{ {
path: '/hydra/callback', path: `/hydra/callback?state=${state}`,
method: 'GET', method: 'GET',
headers: {
state,
},
}, },
[AuthActionTypes.SIGN_IN_START, AuthActionTypes.SIGN_IN_SUCCESS, AuthActionTypes.SIGN_IN_FAILURE], [AuthActionTypes.SIGN_IN_START, AuthActionTypes.SIGN_IN_SUCCESS, AuthActionTypes.SIGN_IN_FAILURE],
); );