Switch account / Switch webview keeping session


Hello i’m developing a wrapper for a webapp.
This web app, i have many account on it , (like for gmail if you want)
The purpose to my electron app is to be able to switch account easily

I have a left bar that contains a list of my account and whenever i change account i would like to keep the session up.

My webview is instanced like this :
<webview src="https://%URL_HIDDEN%" partition="persist:link" id="link-webview"></webview>

this is the code that change
ipcRenderer.on('reload-webview', function(event, url) { webview.loadURL("https://" + url); })

Currently i’m forced to re-log everytime i switch account.
Is there a way to do that ? and how ?