diff --git a/querybook/server/app/auth/auth0_auth.py b/querybook/server/app/auth/auth0_auth.py index 441277b29..e0ac60df5 100644 --- a/querybook/server/app/auth/auth0_auth.py +++ b/querybook/server/app/auth/auth0_auth.py @@ -1,19 +1,8 @@ -import requests from env import get_env_config from app.auth.okta_auth import OAUTH_CALLBACK_PATH, OktaLoginManager -class NoopAuth(requests.auth.AuthBase): - """ - This auth doesn't do anything. - It only used to override oauthlib's behavior. - """ - - def __call__(self, r): - return r - - class Auth0LoginManager(OktaLoginManager): def get_oauth_urls(self): auth0_base_url = get_env_config("AUTH0_BASE_URL")