From 3b00893d54175db05ba8f47da37b4809d964e735 Mon Sep 17 00:00:00 2001 From: rhysrevans3 <34507919+rhysrevans3@users.noreply.github.com> Date: Mon, 6 Jan 2025 09:21:22 +0000 Subject: [PATCH] Fixing spelling error. --- 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 1ca543e69..a2a9c2efc 100644 --- a/fastapi/security/oauth2.py +++ b/fastapi/security/oauth2.py @@ -644,7 +644,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.