asgardeo / asgardeo-auth-react-sdk

To maintain the implementation of Asgardeo React authentication SDK
Apache License 2.0
40 stars 91 forks source link

Add support for Node 17+ versions #146

Closed kavinda1995 closed 1 year ago

kavinda1995 commented 2 years ago

Describe the issue: We are getting the following error when we try to start our react sample in Node 17+ versions and the newest LTS 18.12.0.

image

The major reason is that in node 17, they've changed the implementation of SSL handling, which came as a breaking change for older code bases [1]. We might need to bump our packages accordingly or configure webpack to support this.

How to reproduce:

  1. Install or switch to Node >17
  2. Try to start the sample app
  3. You'll see an error mentioned above

Expected behavior: Sample app should start without any issues

Environment information (Please complete the following information; remove any unnecessary fields) :


Optional Fields

DonOmalVindula commented 1 year ago

v2.0.0 of the asgardeo-auth-react-sdk have added support up to node 18 (latest). Therefore closing this issue.