Join Discord
Powered by
revoke_all_sessions_for_user this is not working i...
# support-questions-legacy
d
Deleted User
05/22/2023, 12:34 PM
revoke_all_sessions_for_user this is not working in python supertoken
r
rp_st
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_st
05/22/2023, 1:04 PM
That’s cause session verification is stateless
rp_st
05/22/2023, 1:04 PM
When the user tries and refreshes their session, it will log them out
rp_st
05/22/2023, 1:05 PM
https://supertokens.com/docs/session/common-customizations/sessions/access-token-blacklisting
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_st
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
4
Views
Previous
Next