Invalid Token: `state` does not match when redirecting to /authorize

It sounds like you should be registering multiple apps for this.