Open hle-skillz opened 3 years ago
Since crypto is a built-in node module not meant for the browser: https://www.npmjs.com/package/crypto
crypto
does this project need to import crypto-js instead? https://www.npmjs.com/package/crypto-js
crypto-js
https://github.com/gardner/react-oauth2-pkce/blob/f5f0f278544031d3aac26e5accfe1c7bda7a6bd5/src/pkce.ts#L1
Take a look at this: https://github.com/gardner/react-oauth2-pkce/issues/33
Since
crypto
is a built-in node module not meant for the browser: https://www.npmjs.com/package/cryptodoes this project need to import
crypto-js
instead? https://www.npmjs.com/package/crypto-jshttps://github.com/gardner/react-oauth2-pkce/blob/f5f0f278544031d3aac26e5accfe1c7bda7a6bd5/src/pkce.ts#L1