Node Red Custom Token issue

We have successfully integrated and launched the Node-RED application as an embedded component within our existing system using an iframe. However, we encountered an issue where all the child requests are being denied due to unauthorized access.

Here is an improved version of the provided code:

htmlCopy code

<iframe id="pwi_smv_app_iframe" name="pwi_smv_app_iframe" frameborder="0"
  src="${baseUri}/api/nginx/api/ui/?jwt=${window.localStorage.getItem('credentials')}"
  style="width: 100%; height: calc(100vh - 101px); position: fixed;"></iframe>


it seems that the child requests are failing because the authentication token is not being set for the Node-RED resources.

Please let me know the solution.

Please check this issue asap..

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.