If I'm not supposed to keep the JWT idToken around (the "gtoken" cookie), but only use it for authentication, then how can I use the ...?mode=manageAccount
feature, which depends on the existence of idToken in the gtoken cookie?
Keep it stored on the backend and add a redirection step where I set it before redirecting to ...?mode=manageAccount
and delete it afterwards?