Highlighted

Deliver HTML panel using NodeJS Express

Community Beginner ,
Nov 10, 2020

Copy link to clipboard

Copied

Hello all,

I do have an Adobe HTML Panel based on a ReactJS app which works great so far, but the biggest issue with this approach is that all requests are made using the `file://` origin causing more issues, like:

1. Not all APIs requests are accepted

2. AWS Cognito callback is not recognized

 

Is there a way that I can deliver my HTML Panel (ReactJS) through an Express Server (NodeJS) or any other specific server so I the end all of my requests will have the origin `http://localhost:PORT/` or maybe there is other `The Adobe Way` that I am missing?

Thank you in advance

TOPICS
How to, SDK

Views

24

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Deliver HTML panel using NodeJS Express

Community Beginner ,
Nov 10, 2020

Copy link to clipboard

Copied

Hello all,

I do have an Adobe HTML Panel based on a ReactJS app which works great so far, but the biggest issue with this approach is that all requests are made using the `file://` origin causing more issues, like:

1. Not all APIs requests are accepted

2. AWS Cognito callback is not recognized

 

Is there a way that I can deliver my HTML Panel (ReactJS) through an Express Server (NodeJS) or any other specific server so I the end all of my requests will have the origin `http://localhost:PORT/` or maybe there is other `The Adobe Way` that I am missing?

Thank you in advance

TOPICS
How to, SDK

Views

25

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Nov 10, 2020 0

Have something to add?

Join the conversation