New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removing references to OAUTH-POP-KEY-DISTRIBUTION. #1846
Conversation
Fixes w3c#1642. RFC7635 does not actually require the OAuth Client (the web application, in WebRTC context) to use OAUTH-POP-KEY-DISTRIBUTION; this is just the example provided in Appendix B. So this PR removes all references to it, saying "how the application gets the kid/accessToken/macKey is unspecified, Appendix B provides one example mechanism." Also doing some unrelated shuffling around of paragraphs to make things more readable. For example, moving terminology to the Terminology section, and introducing the concepts of macKey/accessToken/kid before we talk about refreshing them.
bc05084
to
cb33509
Compare
@misi, does this look good? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems OK
webrtc.html
Outdated
<p>For OAuth Authentication, the <a>ICE Agent</a> requires three | ||
pieces of credential information. The credential is composed of | ||
a <code>kid</code>, which the <a>RTCIceServer</a> | ||
<code>username</code> member is used for, and | ||
<code>macKey</code> and <code> accessToken</code>, which are | ||
placed in the <a>RTCOAuthCredential</a> dictionary. All of this | ||
information can be extracted from the OAuth response parameters, | ||
which are received from the <dfn>Authorization Server</dfn>. The | ||
which are received from the <a>Authorization Server</a>. The | ||
relevant OAuth response parameters are the "kid", the "key", and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These names ("kid","key","access_token") of the OAuth response parameters are from POP key distribution draft, and may we should also remove to refer to them. According the actual changes we should rather state only that
OAuth Client provide all necessary information (the kid
, macKey
, and accessToken
) that are required by the ICE Agent for the Authentication.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch; removed everything in this paragraph from "All of this information..." onward. I think the "note" section below should clarify things sufficiently.
Fixes #1642.
RFC7635 does not actually require the OAuth Client (the web application,
in WebRTC context) to use OAUTH-POP-KEY-DISTRIBUTION; this is just the
example provided in Appendix B. So this PR removes all normative
references to it, saying "how the application gets the kid/accessToken/macKey
is outside the scope of this spec; Appendix B provides one example mechanism."
Also doing some unrelated shuffling around of paragraphs to make things
more readable. For example, moving terminology to the Terminology
section, and introducing the concepts of macKey/accessToken/kid before
we talk about refreshing them.
Preview | Diff