magic auth issue