Skip to content

Commit

Permalink
Removed NoopAuth
Browse files Browse the repository at this point in the history
Unused code
  • Loading branch information
aidenprice committed Apr 6, 2024
1 parent 4efde95 commit 0301d90
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions querybook/server/app/auth/auth0_auth.py
Original file line number Diff line number Diff line change
@@ -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")
Expand Down

0 comments on commit 0301d90

Please sign in to comment.