Hi.. thanks in advance for any help.
I am new to Angular. Trying to build an application to connect to my Appworks platform, wherein i have created a few entities.
I am able to login and get an OTDS ticket. When i try creating an entity instance i get an error as below:
Access to XMLHttpRequest at 'http://«myservername»/otdsws/login?RFA=872d7f43-49f2-4f63-8192-58eb2881d535%3Ahttp%3A%2F%2F«myservername»%2Fcordys%2Fcom.eibus.sso.otds.TicketConsumerService.wcp%3FAuthContext%3D2.c3lzdGVtPW90ZHM%3D%26RelayState%3D%2Fhome%2Fsystem%2Fapp%2FentityRestService%2Fapi%2FMyCompanyPermits%2Fentities%2FlkpServiceType&PostTicket=true&language=en-US' (redirected from 'http://«myservername»:81/home/system/app/entityRestService/api/MyCompanyPermits/entities/lkpServiceType') from origin 'http://localhost:4200' 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.
I have added entries into the proxy.conf.json. I suspect that it is due to the fact that i am not sending an OTDS ticket along with my api call to the entity.
I would like to know how i could achieve that. If anyone here has done something on react/angular would appreciate the guidance on this.
My Opentext version is 22.4 working Angular 15.
I am happy to jump into a MS Teams call to get this done quickly..
Appreciate the help