Support for passing redirect in cloud