Use appId instead of full root URL