From 789fa147a576231203b9444b3a46e1faa8811b2d Mon Sep 17 00:00:00 2001 From: lpm0073 Date: Mon, 3 Oct 2022 18:44:36 -0500 Subject: [PATCH] remove client key/secret and hardcode base url --- wp_oauth_backend/wp_oauth.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/wp_oauth_backend/wp_oauth.py b/wp_oauth_backend/wp_oauth.py index f7d2cd1..08b9368 100644 --- a/wp_oauth_backend/wp_oauth.py +++ b/wp_oauth_backend/wp_oauth.py @@ -19,15 +19,7 @@ class WPOAuth2(BaseOAuth2): @property def base_url(self): - return settings.WPOAUTH_BACKEND_BASE_URL - - @property - def CLIENT_ID(self): - return settings.WPOAUTH_BACKEND_CLIENT_ID - - @property - def CLIENT_SECRET(self): - return settings.WPOAUTH_BACKEND_CLIENT_SECRET + return "https://stepwisemath.ai" @property def AUTHORIZATION_URL(self) -> str: