You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and in my code I'm trying to get access to my baseUrl cookies const cookies = await axiosInstance.defaults.jar?.getCookies(${this.config.baseUrl});
now, when I had the Jar as a direct child of the axios object, (e.g. axios.create({jar, ...}) everything work as expected,
but since I tried to use thehttpsAgent: new HttpsCookieAgent({ keepAlive: true, cookies: { jar }, rejectUnauthorized: false }), I get undefined
The text was updated successfully, but these errors were encountered:
I think I have a similar issue to this, but the solution above did not work for me
so here is my code:
and in my code I'm trying to get access to my baseUrl cookies
const cookies = await axiosInstance.defaults.jar?.getCookies(
${this.config.baseUrl});
now, when I had the Jar as a direct child of the axios object, (e.g.
axios.create({jar, ...})
everything work as expected,but since I tried to use the
httpsAgent: new HttpsCookieAgent({ keepAlive: true, cookies: { jar }, rejectUnauthorized: false }),
I get undefinedThe text was updated successfully, but these errors were encountered: