Last active
June 2, 2019 12:38
-
-
Save nilsdebruin/1ce988f361716186121ffdccccd7f1a4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
COOKIE_AUTHORIZATION_NAME = "Authorization" | |
COOKIE_DOMAIN = "<YOUR_DOMAIN_NAME>" | |
PROTOCOL = "http://" | |
FULL_HOST_NAME = "<YOUR_DOMAIN_NAME>" | |
PORT_NUMBER = 8000 | |
CLIENT_ID = "1007436511433-1o329ffhgodf6ipbmgqm99r2kkjsoj9u.apps.googleusercontent.com" | |
CLIENT_SECRETS_JSON = "client_secret_1007436511433-1o329ffhgodf6ipbmgqm99r2kkjsoj9u.apps.googleusercontent.com.json" | |
API_LOCATION = f"{PROTOCOL}{FULL_HOST_NAME}:{PORT_NUMBER}" | |
SWAP_TOKEN_ENDPOINT = "/swap_token" | |
SUCCESS_ROUTE = "/users/me" | |
ERROR_ROUTE = "/login_error" | |
SECRET_KEY = "09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7" | |
ALGORITHM = "HS256" | |
ACCESS_TOKEN_EXPIRE_MINUTES = 30 | |
fake_users_db = { | |
"johndoe": { | |
"username": "johndoe", | |
"full_name": "John Doe", | |
"email": "[email protected]", | |
"disabled": False, | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment