set withCredentials to the new ES6 built-in HTTP request API : Fetch April 27, 2023 by Tarik Got it here : credentials: 'include' and not withCredentials: true