Skip to content

Commit 89fd675

Browse files
author
Orie Steele
authored
Merge pull request #78 from tmarkovski/tm/cors-considerations
Add CORS policy considerations section
2 parents 4a886c4 + 7441915 commit 89fd675

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Diff for: index.html

+16
Original file line numberDiff line numberDiff line change
@@ -702,6 +702,22 @@ <h3>
702702
rather than all of example.com.
703703
</p>
704704
</section>
705+
706+
<section>
707+
<h3>
708+
Cross-Origin Resource Sharing (CORS) Policy Considerations
709+
</h3>
710+
<p>
711+
To support scenarios where DID resolution is performed by client
712+
applications running in a web browser, the file served for the DID
713+
document should be accessible by any origin. To enable this,
714+
the DID document HTTP response can be set to include the
715+
following header:
716+
</p>
717+
<pre class="nohighlight">
718+
Access-Control-Allow-Origin: *
719+
</pre>
720+
</section>
705721
</section>
706722
</section>
707723

0 commit comments

Comments
 (0)