Looks like I misunderstood the meaning of that redirect_uri parameter before