try {
    const data = await cognito.initiateAuth(params).promise()
    rdxDispatch(setCognito(data, null))
    return data
  } catch (err) {