oso
oso copied to clipboard
Revisit frontend `jwt` setup
Currently, everytime we need to include organization info we create a new OSO jwt. But theres no refreshToken, and its not saved (it's created on demand). We should implement a system with an idToken (the current jwt token) and a refreshToken per organization, and save in localStorage to avoid creating them on demand.