mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
feat: use subdomains for organizations
This commit is contained in:
parent
600bb96603
commit
fac6b57ab3
16 changed files with 57 additions and 60 deletions
|
|
@ -18,6 +18,8 @@ class Settings(BaseModel):
|
|||
authjwt_token_location = {"cookies"}
|
||||
authjwt_cookie_csrf_protect = False
|
||||
authjwt_access_token_expires = False # (pre-alpha only) # TODO: set to 1 hour
|
||||
authjwt_cookie_samesite = "none"
|
||||
authjwt_cookie_secure = True
|
||||
|
||||
|
||||
@AuthJWT.load_config # type: ignore
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue