​Prebid is able to use the consent information collected by IAB-compliant CMPs through the standard CMP JS API (for GDPR) and the IAB CCPA API (for CCPA). The consent information is then passed down to the bidders/vendors that support those APIs.
To enable Prebid support for CMPs and have it work with Didomi, follow the steps listed on this page.
Add the consent management module to Prebid
Make sure that the consentManagement module is being added to your Prebid build:
If you do not collect consent for all IAB vendors, make sure to enable the IAB vendor IDs corresponding to all the bidders/adapters that you are working with in Prebid.
If you are collecting consent for all IAB vendors already, there is nothing else to do.
CCPA
Configure your Prebid deployment to enable consent management with an iab CMP by adding a consentManagement.usp configuration option: