Abhishek Thakur
commited on
Commit
·
2bfd9f0
1
Parent(s):
e2ff59b
same site none
Browse files- competitions/oauth.py +1 -0
competitions/oauth.py
CHANGED
|
@@ -39,6 +39,7 @@ def attach_oauth(app: fastapi.FastAPI):
|
|
| 39 |
SessionMiddleware,
|
| 40 |
secret_key=hashlib.sha256(session_secret.encode()).hexdigest(),
|
| 41 |
https_only=True,
|
|
|
|
| 42 |
)
|
| 43 |
|
| 44 |
|
|
|
|
| 39 |
SessionMiddleware,
|
| 40 |
secret_key=hashlib.sha256(session_secret.encode()).hexdigest(),
|
| 41 |
https_only=True,
|
| 42 |
+
same_site="none",
|
| 43 |
)
|
| 44 |
|
| 45 |
|