Hey
@rp_st
I was going through the documentation at this link
https://supertokens.com/docs/thirdpartyemailpassword/common-customizations/sessions/claims/access-token-payload
It describes two methods to modify the access token payload of an existing session: Online and Offline. In the Offline mode, it's specified that
changes to the access token payload using this method will only be reflected in the session once the session is refreshed.
Is there a way to alter or modify the access token for all of a user's sessions, or a specific session, without directly accessing the SessionContainer object? I might only have the user's userId or, at most, the session handles.
For context, I'm aiming to:
Modify the claim (within the session token payload) across all active sessions without forcing a logout or using the refresh endpoint.
Implement a feature where users can log out from all sessions from a specific session.
Any insights or recommendations would be greatly appreciated!