State token fix
This commit is contained in:
parent
1de2c8ee48
commit
3eaf001df7
5 changed files with 29 additions and 33 deletions
|
|
@ -15,11 +15,14 @@ const signOutAction = (): SuccessAction => ({
|
|||
payload: null,
|
||||
});
|
||||
|
||||
export const signIn = () =>
|
||||
export const signIn = (state: string) =>
|
||||
createApiAction(
|
||||
{
|
||||
path: '/hydra/callback',
|
||||
method: 'GET',
|
||||
headers: {
|
||||
state,
|
||||
},
|
||||
},
|
||||
[AuthActionTypes.SIGN_IN_START, AuthActionTypes.SIGN_IN_SUCCESS, AuthActionTypes.SIGN_IN_FAILURE],
|
||||
);
|
||||
|
|
|
|||
Reference in a new issue