Im having a strange disconnect issue on Register .netCore MVC with React

Hello all I am using this guide to get started with my application but I am running into an issue when i run dotnet run and I try to register it logs me out here are the errors on the backend console and the dev tools

I followed exactly what the tutorial said to do but still having issues I wasnt sure it if was a cors issue but here is my setup on okta website

Also when i go to login it gives me this ridiculous error on the frontend so I thought it was a cors issue but im not sure it links to the issue above

I was reading that it maybe the version of oktareact i am using but I am using the correct one from the tutorial so im not sure why its not working. And my okta.yaml is in my home directory with the setup they gave in the tutorial