"Parameter redirect_uri does not match registered URI"

I noticed you did not properly encode your uri query params. So &redirect_uri=https://bitcornsync.com/twitchcallback should actually be &redirect_uri=https%3A%2F%2Fbitcornsync.com%2Ftwitchcallback, though all characters there look unambiguous as a query param value, so I don’t think it was the actual issue.