From: Micael Jarniac Date: Fri, 16 Aug 2024 00:04:55 +0000 (-0300) Subject: 📝 Fix minor typo (#12026) X-Git-Tag: 0.112.2~61 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a0c529ef0a87517eb6accec1000ccfd52761905d;p=thirdparty%2Ffastapi%2Ffastapi.git 📝 Fix minor typo (#12026) --- diff --git a/docs/en/docs/advanced/security/oauth2-scopes.md b/docs/en/docs/advanced/security/oauth2-scopes.md index 48798ebac2..ff52d7bb80 100644 --- a/docs/en/docs/advanced/security/oauth2-scopes.md +++ b/docs/en/docs/advanced/security/oauth2-scopes.md @@ -398,7 +398,7 @@ Now update the dependency `get_current_user`. This is the one used by the dependencies above. -Here's were we are using the same OAuth2 scheme we created before, declaring it as a dependency: `oauth2_scheme`. +Here's where we are using the same OAuth2 scheme we created before, declaring it as a dependency: `oauth2_scheme`. Because this dependency function doesn't have any scope requirements itself, we can use `Depends` with `oauth2_scheme`, we don't have to use `Security` when we don't need to specify security scopes.