Edit: redirectUrl to authority (domain:port)