This commit is contained in:
zeppi 2021-09-16 14:33:52 -04:00
parent 8db9b1a2f0
commit 80e9de991b

View file

@ -108,7 +108,11 @@ if (process.env.SEARCH_API_URL) {
}
// TODO KEYCLOAK
doAuthTokenRefresh();
getTokens.then(tokens => {
if (tokens.auth_token) {
doAuthTokenRefresh();
}
});
// We need to override Lbryio for getting/setting the authToken
// We interact with ipcRenderer to get the auth key from a users keyring