Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > Wrapper libraries >

Oauth2 problems with cookies - solved in case someone else has issues

Started by Alec Sanderson -   in Wrapper libraries

The issues is using the new oAuth2
I am using .net core 3.1 and the github samples
I am using Visual Studio 2019 and use "debug" to run (also happens from command line)
My default browser is MS Edge (latest)

I set up my new (oauth2) app on Xero and that was fine

I could login to Xero via the sample apps (both login and sample) but on redirect the cookies failed with correlation error and cookie not found

This I fixed by setting the "Cookies without SameSite must be secure" setting in Edge (chrome) using chrome://flags

This needs fixing however ...