Use auth dialog endpoint instead of legacy url