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
Hi,
I need to generate a signed request to hit an API Gateway(secured with IAM). I need to implement this in a React application, so I am using aws4 to sign the request. But the React Application is giving me errors due to webpack issues like Webpack >5, which needs polyfill. I am trying to resolve them by writing a fallback in node_modules/react_scripts/config/webpack.config.js for crypto, stream etc. But still not working.
One fix I got from Stackoverflow:
Downgrade the react-scripts version from 5.0.0 to 4.0.3 but in that there are many package vulnerabilities. Please suggest how to use aws4 in React^18 and react-scripts^5.0.0
The text was updated successfully, but these errors were encountered:
Hi,
I need to generate a signed request to hit an API Gateway(secured with IAM). I need to implement this in a React application, so I am using aws4 to sign the request. But the React Application is giving me errors due to webpack issues like Webpack >5, which needs polyfill. I am trying to resolve them by writing a fallback in node_modules/react_scripts/config/webpack.config.js for crypto, stream etc. But still not working.
One fix I got from Stackoverflow:
The text was updated successfully, but these errors were encountered: