eclipse-tractusx / digital-product-pass

digital product pass
https://github.com/eclipse-tractusx/digital-product-pass
Apache License 2.0
21 stars 11 forks source link

[DPP] Contract negotiation failing because of CORS and check of "/" at end of provider url in dt #274

Closed matbmoser closed 2 weeks ago

matbmoser commented 2 months ago

Current Behavior

Usage of CORS is necessary when using two different bsae URLs for backend and frontend. image-2024-03-14-15-47-15-031 There is a problem with cors with the agree, and negotaition status methods: Because we send the headers with the forcing of credentials. This happens when you have the backend and the frontend separated in two instances.

Solution

Remove this property from the frontend image

Expected Behavior

No CORS errors

saudkhan116 commented 1 month ago

The bug is now resolved, but still need to be tested.

matbmoser commented 2 weeks ago

This shoudl be solved but where is the change?

https://github.com/eclipse-tractusx/digital-product-pass/blob/8a9745e4483be4c4dfb1bc56009f58f235bc051d/dpp-frontend/src/services/BackendService.js#L289C2-L293C1

Is still in a PR waiting to be merged?

matbmoser commented 2 weeks ago

Will be solved in #335