Hello, on Ory Network, I get this error: `Access...
# ory-network
a
Hello, on Ory Network, I get this error:
Access to fetch at '<https://inspiring-archimedes-tjzunlod7c.projects.oryapis.com/userinfo>' from origin '<https://autozoom.github.io>' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
when trying to read userinfo. I have enabled CORS for my origin with
ory patch project xxxxxxxxxx--replace '/cors_public/enabled=true' --replace '/cors_public/origins=["<https://autozoom.github.io/>"]'
(and I know this works because, before doing this, I was getting a CORS error on .well-known/openid-configuration I have also listed my origin in the OAuth2 client, as per the attached screenshot. Everything else works, I can do the autorization_code flow and successfully logon through my Angular app, but /userinfo gives me the error. What am I doing wrong? Thanks a lot in advance. Mauro