From 76a12bfcfdf1447d53a7569a3b6d4c5656a44ba0 Mon Sep 17 00:00:00 2001 From: rhysrevans3 Date: Mon, 6 Jan 2025 09:32:36 +0000 Subject: [PATCH] Fixing spelling errror. --- fastapi/security/oauth2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastapi/security/oauth2.py b/fastapi/security/oauth2.py index c51323cde..4b989644e 100644 --- a/fastapi/security/oauth2.py +++ b/fastapi/security/oauth2.py @@ -645,7 +645,7 @@ class OAuth2ClientCredentials(OAuth2): bool, Doc( """ - By default, if no HTTP Auhtorization header is provided, required for + By default, if no HTTP Authorization header is provided, required for OAuth2 authentication, it will automatically cancel the request and send the client an error.