add redirect_url configuration