Skip to content

Commit

Permalink
Merge pull request #78 from tmarkovski/tm/cors-considerations
Browse files Browse the repository at this point in the history
Add CORS policy considerations section
  • Loading branch information
OR13 authored Jul 30, 2024
2 parents 4a886c4 + 7441915 commit 89fd675
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,22 @@ <h3>
rather than all of example.com.
</p>
</section>

<section>
<h3>
Cross-Origin Resource Sharing (CORS) Policy Considerations
</h3>
<p>
To support scenarios where DID resolution is performed by client
applications running in a web browser, the file served for the DID
document should be accessible by any origin. To enable this,
the DID document HTTP response can be set to include the
following header:
</p>
<pre class="nohighlight">
Access-Control-Allow-Origin: *
</pre>
</section>
</section>
</section>

Expand Down

0 comments on commit 89fd675

Please sign in to comment.