oauth-wg / oauth-browser-based-apps

Best practices for OAuth in Browser-Based Apps
https://datatracker.ietf.org/doc/html/draft-ietf-oauth-browser-based-apps
Other
22 stars 12 forks source link

Added section on the security of in-browser communication flows #29

Closed iphoneintosh closed 5 months ago

iphoneintosh commented 7 months ago

As discussed on the OSW, this PR adds a small section with security considerations on the use of postMessage (a.k.a. "web messaging") to this draft. It makes reference to Section 4.18 of the OAuth BCP, which already discusses the security implications of in-browser communication flows in detail.

Since (silent) iframe flows and popup flows are especially used in browser-based apps, we think that it makes sense to include security considerations of their in-browser communication into this draft. Please let us know what you think about this. We appreciate any feedback.

aaronpk commented 5 months ago

Sounds good to me, thanks!