Open will-bartlett opened 6 months ago
Thanks for the details.
Just to note, response_mode=fragment
only applies to the third architectural pattern (section 6.3), since the other two are server backend flows.
The document should definitely mention response_mode=fragment. The document should probably either recommend or recommend against response_mode=fragment (I think: recommend).
It seems like your suggestion on https://github.com/oauthstuff/draft-ietf-oauth-security-topics/issues/97 was to include a mention that this response mode is also susceptible to one of the attacks on the implicit flow. Did you mean to say that the Browser BCP should also not recommend response_mode=fragment then?
The historic note should explain both the motivations for the implicit flow and why neither applies (session history AND response_mode=fragment).
Can you suggest a sentence to include that describes why response_mode=fragment doesn't apply anymore?
Hi @will-bartlett just wanted to check on this again
In 7.2.1, "historic note", the current draft says:
The historic note is missing some context. Had RFC 6749 recommended query responses for browser-based apps, there would have been the additional page load AND an additional app download. Additionally, the document as a whole makes no mention of
response_type=fragment
.Consider the following sequence of requests ("the authorization code flow"):
When RFC 6749 was published, this flow would have included:
Compare to the implicit flow:
When RFC 6749 was published, this flow would have included:
The document as it currently stands seems to recommend the authorization code flow as described by RFC 6749 (with query response). In today's world, that flow includes:
Microsoft Entra (and other OpenID Connect providers) rely on the OAuth 2.0 Multiple Response Type Encoding Practices standard and use the authorization code flow in combination with response_mode=fragment. That looks like this:
This flow includes:
Problem summary:
Suggestions: