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: