Skip to content

Commit 98723d8

Browse files
Add a citation of IETF RFC 7636
The RFC is authoritative, clearly explains what it does, and also clearly explains *why* it's used. Let's cite it. Signed-off-by: David A. Wheeler <dwheeler@dwheeler.com>
1 parent 48f5583 commit 98723d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/lfd121.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2153,7 +2153,7 @@ Sometimes you want to separate the program that does authentication, and the pro
21532153

21542154
**OAuth** is an authorization framework. Its purpose is to authorize a third-party application to access a user's protected resources without the user sharing their actual credentials (like a password) with that application. Instead, OAuth enables an application to obtain limited access to an HTTP service, either on behalf of a resource owner, or by allowing the third-party application to obtain access on its own behalf. OAuth enables this by using an **Access Token**. This token can be limited in scope (what it can do) and duration (how long it lasts).
21552155

2156-
While OAuth is powerful, it must be implemented correctly. In particular, security best practices today require using Proof Key for Code Exchange (**PKCE**) in OAuth to help prevent authorization code interception and code substitution attacks, especially in public clients. PKCE checks to ensure that the entity requesting the authorization code (used to get the access token) is the exact same entity exchanging it.
2156+
While OAuth is powerful, it must be implemented correctly. In particular, security best practices today require using Proof Key for Code Exchange (**PKCE**) in OAuth to help prevent authorization code interception and code substitution attacks, especially in public clients. PKCE checks to ensure that the entity requesting the authorization code (used to get the access token) is the exact same entity exchanging it ([IETF RFC 7636](https://datatracker.ietf.org/doc/html/rfc7636)).
21572157

21582158
OAuth typically involves four distinct roles and these actions:
21592159

0 commit comments

Comments
 (0)