Github Client + Next.js error following tutorial

I’m attempting to integrate the Gihub Oauth api to my app following this tutorial Initial Setup | TinaCMS Docs

I set up a new project and github repo and followed the guide, but after I click the “Edit” button and authenticate with Github, the page refreshes with this error:

All of the desired Cookies are showing up in my Application panel, including csrf_token, leading me to believe I am authorized correctly.

I am fairly new to Tina and Next.JS, Any help would be much appreciated.