did-method-web icon indicating copy to clipboard operation
did-method-web copied to clipboard

Consider mentioning CORS

Open clehner opened this issue 3 years ago • 1 comments

For use in web browsers, did:web providers may need to set headers in the HTTP response for the DID document, for Cross-Origin Resource Sharing (CORS).

To enable any web origin to resolve the DID, the DID Document HTTP response can include the following header: Access-Control-Allow-Origin: *

cc @sbihel

clehner avatar Mar 17 '21 16:03 clehner

+1 on CORS to facilitate browser access.

@OR13 does this in #25 for w3did.org.

gribneau avatar Mar 19 '21 11:03 gribneau