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
Describe the bug
When first logging in with psst, the code path runs through
let (auth_url, pkce_verifier) = oauth::generate_auth_url(8888);
if open::that(&auth_url).is_err() {
data.error_alert("Failed to open browser");
return;
}
in psst-gui/src/ui/preferences.rs.
Running open::that() opens firefox, halting execution until firefox is closed, blocking the creation of the thread, blocking with it the creation of the oauth socket.
To Reproduce
Run psst-gui for the first time.
Expected behavior
Have the socket be created while firefox is running.
Environment
OS: Arch linux 6.13.2
Firefox: 135.0
The text was updated successfully, but these errors were encountered:
Describe the bug
When first logging in with psst, the code path runs through
in
psst-gui/src/ui/preferences.rs
.Running open::that() opens firefox, halting execution until firefox is closed, blocking the creation of the thread, blocking with it the creation of the oauth socket.
To Reproduce
Run psst-gui for the first time.
Expected behavior
Have the socket be created while firefox is running.
Environment
The text was updated successfully, but these errors were encountered: