You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently: only one user can login to sltt-app. To login a separate user, the user needs to manually uninstall the app
Currently after a user logs in, logs out and then tries to login again, google will assume the same user wants to login whenever auth0 requests google to sign the user in.
So to to clear auth0 cache information on logout
const { session } = require('electron');
const clearBrowserData = (windowId) => {
session.fromWindow(windowId).clearStorageData({
origin: 'https://YOUR_AUTH0_DOMAIN'
}, (error) => {
if (error) {
console.error('Error clearing browser data:', error);
} else {
console.log('Browser data cleared successfully');
}
});
};
// Replace 'YOUR_WINDOW_ID' with the actual window ID
clearBrowserData('YOUR_WINDOW_ID');
const { BrowserWindow } = require('electron');
const reloadWindow = (windowId) => {
const window = BrowserWindow.fromId(windowId);
window.reload();
};
// Replace 'YOUR_WINDOW_ID' with the actual window ID
reloadWindow('YOUR_WINDOW_ID');
The text was updated successfully, but these errors were encountered:
Currently: only one user can login to sltt-app. To login a separate user, the user needs to manually uninstall the app
Currently after a user logs in, logs out and then tries to login again, google will assume the same user wants to login whenever auth0 requests google to sign the user in.
So to to clear auth0 cache information on logout
The text was updated successfully, but these errors were encountered: