Open pedroR opened 2 years ago
Hi, I am trying to use this module into my web application, but it keeps asking me username and password. Here's my demo code:
const handleRequest = (digestAuthProps: AxiosDigestAuth) => { digestAuthProps.request({ headers: {Accept: "application/json"}, method: "GET", url: baseUrl + 'account', withCredentials: true }).then((response: any) => { console.log(response); }).catch((err: any) => { console.log( err.response); }); }
When in debug I inspect digestAuthProps I can see the correct login and password
Is this plugin works for client side web application or ONLY for NodeJs? It it works for web application what am I doing wrong?
Thanks
Hi, I am trying to use this module into my web application, but it keeps asking me username and password. Here's my demo code:
When in debug I inspect digestAuthProps I can see the correct login and password
Is this plugin works for client side web application or ONLY for NodeJs? It it works for web application what am I doing wrong?
Thanks