From 861f894e6298d845796ae3e32c8860c29a77dd08 Mon Sep 17 00:00:00 2001 From: "Ware, Joseph (DLSLtd,RAL,LSCI)" Date: Tue, 14 Jan 2025 09:26:35 +0000 Subject: [PATCH] linting --- tiled/authenticators.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tiled/authenticators.py b/tiled/authenticators.py index 759ea91e5..0b6653b0b 100644 --- a/tiled/authenticators.py +++ b/tiled/authenticators.py @@ -9,7 +9,7 @@ import httpx from fastapi import APIRouter, Request -from jose import JWTError, jwk, jwt +from jose import JWTError, jwt from pydantic import Secret from starlette.responses import RedirectResponse @@ -206,7 +206,6 @@ class KeyNotFoundError(Exception): pass - async def exchange_code(token_uri, auth_code, client_id, client_secret, redirect_uri): """Method that talks to an IdP to exchange a code for an access_token and/or id_token Args: