Auth0 integration with EC2 Instance

I have completed my integration of Auth0 in react-app locally, now i am trying to deploy the same on my ec2 instance server, but getting an Error: auth0-spa-js must run on a secure origin.
I have tried adding the ec2 instance URL “http://3..*.128:8081/dashboard” to Allowed Callback URLs, Allowed Web Origins, but nothing works

. I know it is related to the auth0-spa-js must run on a secure origin

(https, *, *)
(wss, *, *)
(*, localhost, *)
(*, 127/8, *)
(*, ::1/128, *)
(file, *, —)

but not able to find any documentation or resource material to overcome this issue .

1 Like

Do you find any solution?