pass redirect_url query parameter that is encoded using encodeURIComponent