OAuth 2.0 Authorization (Single-Page App, authorization response leaks)

This is an analysis of various OAuth flows under the assumption that a Single-Page App is used (having no backend, the website being the OAuth client) and that the access token leaks from the authorization response. We further assume that for authorization codes, PKCE is used.

Security Properties

Rules used

(see labels in graph below)