wso2 / product-is

Welcome to the WSO2 Identity Server source code! For info on working with the WSO2 Identity Server repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
732 stars 713 forks source link

JavaScript SDK integration failing on Identity Server - Windows #13597

Open Nirmal-De-Silva-99 opened 2 years ago

Nirmal-De-Silva-99 commented 2 years ago

Describe the issue: Followed by "[IS-Docs] Integrate SDK to Identity Server guide" the JavaScript sample app is not running in the localhost. However the Angular and React apps worked fine.

The output on cmd for npm install && npm start image

The output on WSL for npm install && npm start image

The output on https://localhost:5000/ image

How to reproduce: Steps to be followed can be found here IS-Docs Integrate SDK to Identity Server

Expected behavior: The sample JavaScript app should run without any exceptions

Environment information:

piraveena commented 2 years ago

@Nirmal-De-Silva-99 can you check localhost:3000 port? Recently team has changed the port of the sample apps to 3000 due to some conflicts in the 5000 port in MacOS. You can check these readMe of following sdks, they ask to configure 3000 port https://github.com/asgardeo/asgardeo-auth-js-sdk https://github.com/asgardeo/asgardeo-auth-react-sdk

Nirmal-De-Silva-99 commented 2 years ago

Tried with localhost:3000 port, still shows the same output.

CommandoHuan commented 3 months ago

I have the same problem.