From 0678e840b5aee7a03658ac60f27a6e15eb94229f Mon Sep 17 00:00:00 2001 From: Kelsey Thomas <101993653+Kelsey-Ethyca@users.noreply.github.com> Date: Tue, 22 Mar 2022 12:08:58 -0400 Subject: [PATCH] #110 - change oauth endpoint description (#313) --- src/fidesops/api/v1/endpoints/oauth_endpoints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fidesops/api/v1/endpoints/oauth_endpoints.py b/src/fidesops/api/v1/endpoints/oauth_endpoints.py index 84760c1353..e08d54c56d 100644 --- a/src/fidesops/api/v1/endpoints/oauth_endpoints.py +++ b/src/fidesops/api/v1/endpoints/oauth_endpoints.py @@ -52,7 +52,7 @@ async def acquire_access_token( form_data: OAuth2ClientCredentialsRequestForm = Depends(), db: Session = Depends(get_db), ) -> AccessToken: - """Given a set of credentials, returns an access token if they are correct. Raises 401 + """Returns an access token if given credentials are correct, raises 401 exception if not""" basic_credentials = await HTTPBasic(auto_error=False)(request)