support external redirect urls