We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cbb287 commit 15940b2Copy full SHA for 15940b2
tfa_python_sdk/tfa_python_sdk.py
@@ -3,16 +3,16 @@
3
class TFA:
4
def __init__(self, access_token) -> None:
5
self.access_token = access_token
6
- self.testUrl = "http://localhost:8000"
7
- self.baseUrl = "https://tele-fa-api.herokuapp.com"
+ self.testUrl = "http://localhost:9000/api/auth"
+ self.baseUrl = "https://tfasoft-api.herokuapp.com/api/auth"
8
9
def authUser(self, user_token):
10
urlData = {
11
"access_token": self.access_token,
12
"user_token": user_token,
13
}
14
15
- response = req.post(f'{self.baseUrl}/api/auth/access', json = urlData)
+ response = req.post(f'{self.baseUrl}/auth/access', json = urlData)
16
17
data = {
18
"status": response.status_code,
0 commit comments