Update zauth url
This commit is contained in:
parent
36a2ddaa73
commit
fa9cbbab34
1 changed files with 4 additions and 4 deletions
|
@ -141,12 +141,12 @@ BASE_URL = os.getenv("BASE_URL", "http://localhost:8000")
|
|||
|
||||
AUTH_USER_MODEL = "users.CustomUser"
|
||||
|
||||
_BASE_OAUTH_URL = os.getenv("OAUTH_BASE_URL", "https://adams.ugent.be/oauth")
|
||||
_BASE_OAUTH_URL = os.getenv("OAUTH_BASE_URL", "https://zauth.zeus.gent")
|
||||
|
||||
OAUTH = {
|
||||
"USER_API_URI": f"{_BASE_OAUTH_URL}/api/current_user/",
|
||||
"ACCESS_TOKEN_URI": f"{_BASE_OAUTH_URL}/oauth2/token/",
|
||||
"AUTHORIZE_URI": f"{_BASE_OAUTH_URL}/oauth2/authorize/",
|
||||
"USER_API_URI": f"{_BASE_OAUTH_URL}/current_user/",
|
||||
"ACCESS_TOKEN_URI": f"{_BASE_OAUTH_URL}/oauth/token/",
|
||||
"AUTHORIZE_URI": f"{_BASE_OAUTH_URL}/oauth/authorize/",
|
||||
"REDIRECT_URI": f"{BASE_URL}/login/zeus/authorized",
|
||||
"CLIENT_ID": os.getenv("OAUTH_CLIENT_ID", "tomtest"),
|
||||
"CLIENT_SECRET": os.getenv("OAUTH_CLIENT_SECRET", "blargh"),
|
||||
|
|
Loading…
Reference in a new issue