```xhr.js?1a5c:187 GET <http://localhost:...
# talk-kratos
b
Copy code
xhr.js?1a5c:187          GET <http://localhost:4433/sessions/whoami> 401 (Unauthorized)
solved it .
_const_ config = new Configuration({
basePath: KRATOS_API_URL,
baseOptions: {
withCredentials: true,
},
});
after including this baseOptions the 401 error is gone.