Support for mTLS (httpsAgent?) in next fetch?
Unanswered
Baikal Teal posted this in #help-forum
Baikal TealOP
Currently I can't figure out how to fetch data from a server that requires mtls authentication using the built-in next.js fetch impl. I had to use axios as a workaround, but I'd prefer to have access to the built in next.js cache handling.
Am I overlooking something, or is this a feature that will be implemented at some point in the future?
Am I overlooking something, or is this a feature that will be implemented at some point in the future?
1 Reply
@Baikal Teal Currently I can't figure out how to fetch data from a server that requires mtls authentication using the built-in next.js fetch impl. I had to use axios as a workaround, but I'd prefer to have access to the built in next.js cache handling.
Am I overlooking something, or is this a feature that will be implemented at some point in the future?
try this https://github.com/nodejs/node/issues/48977#issuecomment-1658324420
nextjs follows the nodejs native
nextjs follows the nodejs native
fetch
, which means limitations to fetch
apply to the nextjs fetch
as well, this is one of them.