remove client key/secret and hardcode base url
This commit is contained in:
parent
cf700cdf17
commit
789fa147a5
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user