Skip to content
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

Merged
merged 2 commits into from Apr 26, 2018

Conversation

taylor-b
Copy link
Contributor

@taylor-b taylor-b commented Apr 21, 2018

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

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.
@taylor-b
Copy link
Contributor Author

@misi, does this look good?

Copy link

@misi misi left a 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
Copy link

@misi misi Apr 22, 2018

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.

Copy link
Contributor Author

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.

@aboba aboba merged commit 2ffc225 into w3c:master Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants