use SECRET_KEY as JWT secret key (until we get proper rsa support)
This commit is contained in:
parent
f633f2d617
commit
5c6938ae5a
1 changed files with 4 additions and 4 deletions
|
@ -41,10 +41,10 @@ PROXYFIX_ENABLE = env.bool('PROXYFIX_ENABLE', default=True)
|
|||
PROXYFIX_NUM_PROXIES = env.int('PROXYFIX_NUM_PROXIES', default=1)
|
||||
|
||||
JWT_CONFIG = {
|
||||
"key": "secret-key",
|
||||
"alg": "HS256",
|
||||
"iss": "https://sso.hackerspace.pl",
|
||||
"exp": 3600,
|
||||
"key": env.str("JWT_SECRET_KEY", default=SECRET_KEY),
|
||||
"alg": env.str("JWT_ALG", default="HS256"),
|
||||
"iss": env.str("JWT_ISS", default="https://sso.hackerspace.pl"),
|
||||
"exp": env.int("JWT_EXP", default=3600),
|
||||
}
|
||||
|
||||
LOGGING_LEVEL = env.str('LOGGING_LEVEL', default=None)
|
||||
|
|
Loading…
Reference in a new issue