remove client key/secret and hardcode base url

This commit is contained in:
lpm0073 2022-10-03 18:44:36 -05:00
parent cf700cdf17
commit 789fa147a5

View File

@ -19,15 +19,7 @@ class WPOAuth2(BaseOAuth2):
@property @property
def base_url(self): def base_url(self):
return settings.WPOAUTH_BACKEND_BASE_URL return "https://stepwisemath.ai"
@property
def CLIENT_ID(self):
return settings.WPOAUTH_BACKEND_CLIENT_ID
@property
def CLIENT_SECRET(self):
return settings.WPOAUTH_BACKEND_CLIENT_SECRET
@property @property
def AUTHORIZATION_URL(self) -> str: def AUTHORIZATION_URL(self) -> str: