Set cookies to secure (HTTPS)
This commit is contained in:
parent
c8e7ea7365
commit
cfbaf8a0b2
@ -43,7 +43,7 @@ async def login_for_access_token(
|
||||
key="access_token",
|
||||
value=access_token,
|
||||
httponly=True, # Prevents client-side access
|
||||
# secure=True, # Cookies are only sent over HTTPS
|
||||
secure=True, # Cookies are only sent over HTTPS
|
||||
)
|
||||
return response
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user