sanity-io / sanity-plugin-asset-source-unsplash

Search photos on Unsplash and use them directly inside of your Sanity Studio.
MIT License
17 stars 5 forks source link

Error: Unauthorized - Could not resolve project user #14

Open mackenly opened 2 years ago

mackenly commented 2 years ago

Hi! I've been getting this error when attempting to open the "Select image from Unsplash" window. It happens in the Studio both locally and when deployed to sanity.

{
  "statusCode": 401,
  "error": "Unauthorized",
  "message": "Could not resolve project user"
}
AliKdhim87 commented 2 years ago

Hi @mackenly, I got the same issue when I was using the Brave browser, when I switched to chrome it working now

mackenly commented 2 years ago

Hi @mackenly, I got the same issue when I was using the Brave browser, when I switched to chrome it working now

I only tried Chrome. Very strange. I use the duck duck go plugin/pretty strict privacy settings so wonder if something was getting blocked from that since brave is also privacy focused. Hmm.

roddutra commented 2 years ago

Hi @mackenly, I got the same issue when I was using the Brave browser, when I switched to chrome it working now

I had the same issue but disabling the Brave Shield fixed it for me. Same thing in Firefox, if you disable the Enhanced Tracking Protection this plugin works fine.

DevDaveJ commented 2 years ago

Hi @mackenly, I got the same issue when I was using the Brave browser, when I switched to chrome it working now

I had the same issue but disabling the Brave Shield fixed it for me. Same thing in Firefox, if you disable the Enhanced Tracking Protection this plugin works fine.

Me as well, Firefox Developer Edition.

mackenly commented 2 years ago

The fix for me is to enable 3rd party cookies for the studio.