Store the redirection href in data so that it can be correctly accessed later by an async call