Skip to content

Commit

Permalink
Add README in /.well-known/ to explain why mock-idp.js is hosted there
Browse files Browse the repository at this point in the history
  • Loading branch information
soareschen authored and jgraham committed Aug 8, 2017
1 parent 6664646 commit af610fa
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .well-known/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Well-Known URI Testing
======================

This directory is used for testing resources that are loaded based on the
well-known URI standard. [[RFC5785](https://tools.ietf.org/html/rfc5785)]

For other kinds of resource files, they should either be placed at
[/common](../common) or the respective subdirectories for the
particular standard.
12 changes: 12 additions & 0 deletions .well-known/idp-proxy/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Identity Provider Proxy
=======================

This directory is used for hosting the mock identity provider proxy script
for testing the identity provider feature in WebRTC.
[[ietf-rtcweb-security-arch](https://tools.ietf.org/html/draft-ietf-rtcweb-security-arch-12#section-5.6.5)]
[[webrtc-pc](https://w3c.github.io/webrtc-pc/#sec.identity-proxy)]

The script for identity provider proxy must be hosted at /.well-known/idp-proxy
instead of the usual [/webrtc](../../webrtc) directory as it follows the
well-known URI standard that derives the script URI from a given domain name.
[[RFC5785](https://tools.ietf.org/html/rfc5785)]

0 comments on commit af610fa

Please sign in to comment.