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