# Facing CORS issue, when I change environment variable isIDSEnabled into true

**URL:** https://community.neutrinos.com/t/facing-cors-issue-when-i-change-environment-variable-isidsenabled-into-true/1080
**Category:** Neutrinos Platform
**Tags:** neutrinos-ssd
**Created:** [August 19, 2025, 10:15am UTC](https://community.neutrinos.com/t/facing-cors-issue-when-i-change-environment-variable-isidsenabled-into-true/1080 "2025-08-19T10:15:26Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![GeethaNagarajan](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/g/c67d28/32.png) [@GeethaNagarajan](https://community.neutrinos.com/u/GeethaNagarajan)
#### Post date: [August 19, 2025, 10:15am UTC](https://community.neutrinos.com/t/facing-cors-issue-when-i-change-environment-variable-isidsenabled-into-true/1080/1 "2025-08-19T10:15:26Z")

</div>

Hi Everyone,  
I have done with my background IDS configuration. Then try to integrate IDS with frond-end, for that I have set the isIDSEnabled is “true”. Once done with this changes, I have tried to run the UI at that time I have facing this issue in console once loading the UI.

 ![image](https://community.neutrinos.com/uploads/default/original/1X/65271b907340bc11ea79be4adc9106d1c0175605.png)  
 ![image](https://community.neutrinos.com/uploads/default/original/1X/f3d785050929b7752338c2def7abca1eedac7c56.png)

---

<div class="post-metadata">

### Author: ![Eldho](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/e/c6cbf5/32.png) [@Eldho](https://community.neutrinos.com/u/Eldho)
#### Post date: [August 19, 2025, 10:40am UTC](https://community.neutrinos.com/t/facing-cors-issue-when-i-change-environment-variable-isidsenabled-into-true/1080/2 "2025-08-19T10:40:50Z")

</div>

@Sam please help Geetha

---

<div class="post-metadata">

### Author: ![Sam](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@Sam](https://community.neutrinos.com/u/Sam)
#### Post date: [August 19, 2025, 10:45am UTC](https://community.neutrinos.com/t/facing-cors-issue-when-i-change-environment-variable-isidsenabled-into-true/1080/3 "2025-08-19T10:45:30Z")

</div>

Hello @GeethaNagarajan , Are you using the **“Allow CORS: Access-Control-Allow-Origin”** browser extension? Please confirm.

---

<div class="post-metadata">

### Author: ![GeethaNagarajan](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/g/c67d28/32.png) [@GeethaNagarajan](https://community.neutrinos.com/u/GeethaNagarajan)
#### Post date: [August 19, 2025, 11:45am UTC](https://community.neutrinos.com/t/facing-cors-issue-when-i-change-environment-variable-isidsenabled-into-true/1080/4 "2025-08-19T11:45:04Z")

</div>

Hi @Sam, Yes Now using the CORS browser extension. That third-party Api access issue resolved. But still facing this issue. And I want to mention one note here - " In my backend I have changed the default port into 4500 instead of 8081. Because in my system, 8081 always engaged couldn’t use that port. So I changed, is this any chance to issues happened?

---

<div class="post-metadata">

### Author: ![Sam](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@Sam](https://community.neutrinos.com/u/Sam)
#### Post date: [August 19, 2025, 12:32pm UTC](https://community.neutrinos.com/t/facing-cors-issue-when-i-change-environment-variable-isidsenabled-into-true/1080/5 "2025-08-19T12:32:14Z")

</div>

Hello @GeethaNagarajan ,  
Could you please go to the **middleware section** in your backend, click on **CORS** , and check if it is enabled? If it’s already enabled, there should be an option to edit. After clicking that, just add your **localhost API** there and try again.  
Hope this helps!

---

<div class="post-metadata">

### Author: ![GeethaNagarajan](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/g/c67d28/32.png) [@GeethaNagarajan](https://community.neutrinos.com/u/GeethaNagarajan)
#### Post date: [August 19, 2025, 1:21pm UTC](https://community.neutrinos.com/t/facing-cors-issue-when-i-change-environment-variable-isidsenabled-into-true/1080/6 "2025-08-19T13:21:52Z")

</div>

I added the localhost, which is working fine. Thanks

---

<div class="post-metadata">

### Author: ![GeethaNagarajan](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/g/c67d28/32.png) [@GeethaNagarajan](https://community.neutrinos.com/u/GeethaNagarajan)
#### Post date: [August 19, 2025, 8:09pm UTC](https://community.neutrinos.com/t/facing-cors-issue-when-i-change-environment-variable-isidsenabled-into-true/1080/7 "2025-08-19T20:09:31Z")

</div>

Hi @Sam, still facing the same issue. while redirecting to Neutrinos login page, automatically it takes 8081 port.

 ![image](https://community.neutrinos.com/uploads/default/original/1X/3b500795860d42250c4060668151affca2b75832.png)

 ![image](https://community.neutrinos.com/uploads/default/original/1X/c38697606769af68a9953ddf83c10fc97b6487d0.png)

See the below image login api url still localhost:8081-\>

 ![image](https://community.neutrinos.com/uploads/default/original/1X/e947d6256649152b63175398052df9ed50e5d379.png)

---

<div class="post-metadata">

### Author: ![Sam](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@Sam](https://community.neutrinos.com/u/Sam)
#### Post date: [August 20, 2025, 6:16am UTC](https://community.neutrinos.com/t/facing-cors-issue-when-i-change-environment-variable-isidsenabled-into-true/1080/8 "2025-08-20T06:16:16Z")

</div>

Hello @GeethaNagarajan , It looks like your frontend HTTP node is calling port **8081**. Please try changing it to your backend port **4500** and let me know the result.

---

<div class="post-metadata">

### Author: ![GeethaNagarajan](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/g/c67d28/32.png) [@GeethaNagarajan](https://community.neutrinos.com/u/GeethaNagarajan)
#### Post date: [August 20, 2025, 7:00am UTC](https://community.neutrinos.com/t/facing-cors-issue-when-i-change-environment-variable-isidsenabled-into-true/1080/9 "2025-08-20T07:00:21Z")

</div>

Hi @Sam, Please refer the screenshots here,  
I have changed backend environment variable SSD\_DEFAULT\_PORT - 4500.

 ![image](https://community.neutrinos.com/uploads/default/original/1X/3b500795860d42250c4060668151affca2b75832.png)

And I have changed the IDS login Redirect URI

 ![image](https://community.neutrinos.com/uploads/default/original/1X/c38697606769af68a9953ddf83c10fc97b6487d0.png)

from Front-end I have call this IDS login flow from the script node method, which is stick below,

 ![image](https://community.neutrinos.com/uploads/default/original/1X/aabffba3a020ad1f7fb5601d11dee254e497cbe7.png)  
 ![image](https://community.neutrinos.com/uploads/default/original/1X/2342e91ae138910b6436d2da2eacc54bee66c35d.png)

When I call login Api I got this error on Browser:

 ![image](https://community.neutrinos.com/uploads/default/original/1X/3255f52e9fa22a29c96a584df182787ec40abc88.png)

Please check all the screenshot and let me know where I need to change the port number.

---

<div class="post-metadata">

### Author: ![Sam](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@Sam](https://community.neutrinos.com/u/Sam)
#### Post date: [August 20, 2025, 7:32am UTC](https://community.neutrinos.com/t/facing-cors-issue-when-i-change-environment-variable-isidsenabled-into-true/1080/10 "2025-08-20T07:32:06Z")

</div>

Hello @GeethaNagarajan , on the client side, there’s an option in the sidebar called _Environment_. Inside, you’ll find a key–value pair for the SSD URL, which you can update from there. I hope this helps. Please let me know if the issue still persists.

---

<div class="post-metadata">

### Author: ![GeethaNagarajan](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/g/c67d28/32.png) [@GeethaNagarajan](https://community.neutrinos.com/u/GeethaNagarajan)
#### Post date: [August 20, 2025, 7:49am UTC](https://community.neutrinos.com/t/facing-cors-issue-when-i-change-environment-variable-isidsenabled-into-true/1080/11 "2025-08-20T07:49:04Z")

</div>

Yes, resolved once changed the SSD URL in frontend. Thanks @sam. Your suggestion is very useful to learn this platform.Thankyou.
