Add register_app_url parameter. #2