File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
supertokens_python/recipe/session Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ pycodestyle==2.8.0
49
49
pycparser==2.21
50
50
pycryptodome==3.10.4
51
51
pydantic==1.9.0
52
- PyJWT==2.0.1
52
+ PyJWT==2.6.0
53
53
pylint==2.12.2
54
54
pyparsing==3.0.7
55
55
pyright==1.1.236
Original file line number Diff line number Diff line change 60
60
is_an_ip_address ,
61
61
)
62
62
63
- # In all cases: if sIdRefreshToken token exists (so it's a legacy session) we clear it.
64
- # Check http://localhost:3002/docs/contribute/decisions/session/0008 for further details and a table of expected behaviours
65
63
LEGACY_ID_REFRESH_TOKEN_COOKIE_NAME = "sIdRefreshToken"
66
64
67
65
@@ -303,6 +301,10 @@ async def create_new_session_in_request(
303
301
return result .session
304
302
305
303
304
+ # In all cases: if sIdRefreshToken token exists (so it's a legacy session) we clear it.
305
+ # Check http://localhost:3002/docs/contribute/decisions/session/0008 for further details and a table of expected behaviours
306
+
307
+
306
308
async def refresh_session_in_request (
307
309
request : Any ,
308
310
user_context : Dict [str , Any ],
Original file line number Diff line number Diff line change @@ -370,7 +370,7 @@ async def test_should_update_acccess_token_payload(
370
370
assert update_info ["refreshTokenFromHeader" ] is None
371
371
372
372
# Updated access token
373
- assert update_info ["accessToken" ] is not None # FIXME: this is failing
373
+ assert update_info ["accessToken" ] is not None
374
374
assert update_info ["accessToken" ] != res ["accessTokenFromHeader" ]
375
375
# Updated front token
376
376
assert update_info ["frontToken" ] is not None
You can’t perform that action at this time.
0 commit comments