https://supertokens.com/ logo
revoke_all_sessions_for_user issue
n

Nem's

05/22/2023, 12:34 PM
revoke_all_sessions_for_user this is not working in python supertoken
r

rp

05/22/2023, 12:39 PM
hey @Nem's can you tell us what the error is?
n

Nem's

05/22/2023, 1:03 PM
there is no error successfully revoking all sessions but after use can still access
r

rp

05/22/2023, 1:04 PM
That’s cause session verification is stateless
When the user tries and refreshes their session, it will log them out
n

Nem's

05/22/2023, 1:17 PM
async def get_current_user(session: SessionContainer = Depends(verify_session(check_database=True))): TypeError: verify_session() got an unexpected keyword argument 'check_database'
r

rp

05/22/2023, 2:00 PM
please upgrade to the latest version of the python SDk
n

Nem's

05/24/2023, 6:01 AM
got it