Get the user by action token
    :param action: str
    :param token: str
    :return: AuthUser

def get_user_by_action_token(action, token):
    """
    Get the user by action token
    :param action: str
    :param token: str
    :return: AuthUser
    """
    data = utils.unsign_url_safe(token,
                                 secret_key=get_jwt_secret(),
                                 salt=action)
    if data is None:
        raise exceptions.AuthError("Invalid Token")
    return get_user_by_id(int(data))