w3c / wot-security

a repo exclusively for security to better manage issues and security considerations for WoT
https://w3c.github.io/wot-security/
18 stars 22 forks source link

Reconsider mandatory items in OAuth2 #181

Open mmccool opened 3 years ago

mmccool commented 3 years ago

Currently the OAuth2 scheme in the TD spec makes certain items mandatory, i.e. the authorization or token server URLs. But these are also provided by the protocol, and may in fact vary. If we "bake" them into the TD there is the chance that they will become obsolete. In other cases they might be a useful check. So the question is, should these items really be mandatory, and if they are provided, should it be an error if the device provides something different? Note that generally (and there is an assertion for this) if the device provides something different the assumption is that the TD is wrong, e.g. it is not considered authoritative. But for security, especially if signed, making it authoritative may be useful in some cases. Or not (the actual OAuth2 spec has gotten better review, so...)

mmccool commented 3 years ago

Comments:

mmccool commented 3 years ago

Logistics challenges:

Proposed Plan: