From: Jürgen Gmach Date: Sun, 7 Feb 2021 18:13:41 +0000 (+0100) Subject: ✏ Fix typo in Security OAuth2 scopes (#2407) X-Git-Tag: 0.64.0~61 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8433e8efe2a5566ff8e2d987082b847af2cd11da;p=thirdparty%2Ffastapi%2Ffastapi.git ✏ Fix typo in Security OAuth2 scopes (#2407) --- diff --git a/docs/en/docs/advanced/security/oauth2-scopes.md b/docs/en/docs/advanced/security/oauth2-scopes.md index c40695ba6c..4bd9cfd047 100644 --- a/docs/en/docs/advanced/security/oauth2-scopes.md +++ b/docs/en/docs/advanced/security/oauth2-scopes.md @@ -157,7 +157,7 @@ The `security_scopes` object (of class `SecurityScopes`) also provides a `scope_ We create an `HTTPException` that we can re-use (`raise`) later at several points. -In this exception, we include the scopes required (if any) as a string separated by spaces (using `scope_str`). We put that string containing the scopes in in the `WWW-Authenticate` header (this is part of the spec). +In this exception, we include the scopes required (if any) as a string separated by spaces (using `scope_str`). We put that string containing the scopes in the `WWW-Authenticate` header (this is part of the spec). ```Python hl_lines="105 107-115" {!../../../docs_src/security/tutorial005.py!}