Hi, I have setup a hydra server on AWS with custom...
# ory-selfhosting
h
Hi, I have setup a hydra server on AWS with custom UI. I am trying to add single sign on to a react app using react-oidc-context library. Currently its throwing CORS error for all the public APIs. Any idea how to fix this. Thanks in Advance.
c
The server has to include your website's origin in its CORS headers:
Copy code
serve:
  public:
    cors:
      enabled: true
      allowed_origins:
        - <https://yourdoma.in>