function linkWithRedirect(dispatch, firebase, provider) {
  return linkWithAuthDispatch(
    firebase.auth().currentUser.linkWithRedirect,
    [provider],
    dispatch,
    firebase
  )
}
Links the user account with the given credentials. Internally
calls `firebase.auth().currentUser.linkWithRedirect`.
@param {Function} dispatch - Action dispatch function
@param {object} firebase - Internal firebase object
@param {any} provider - Auth provider
@returns {Promise} Resolves with auth