privacysandbox / protected-auction-key-value-service

Protected Auction Key/Value Service
Apache License 2.0
55 stars 20 forks source link

Configurable /bidding-signals path #37

Closed pawelruchajadg closed 11 months ago

pawelruchajadg commented 1 year ago

According to the documentaion, the key-value store should be exposed on the same domain as the dsp origin.

So, for example, having dsp.example/dsp.js would require this key-value service URL: dsp.example/bidding-signals/v1/getvalues?kv_internal=hi. However, there is no way to configure the key-value service to accept /bidding-signals/v1/getvalues path. It only accepts /v1/getvalues.

Is there a way to configure the service to accept the full path? Alternatively, is there a way to specify key-value service URL?

lusayaa commented 1 year ago

Thanks for reaching out! We're looking into a fix and will keep you posted.

lusayaa commented 11 months ago

We've added support for path prefixes in aecccf9, so something like dsp.example/my_prefix/v1/getvalues should work with that change.

It's currently on the repo's main branch and will be included in the next release as well.