Due to my browser atm complaining about atk-bridge and canberra-gtk-module modules, for some reason yawsso is bailing out on the logging in; Though I am logged in and session fully setup thus running yawsso auto --profile myprofile --this will succeed without an explicit login.
Here is the console output
$ yawsso login --profile REDACTED --this
Attempting to automatically open the SSO authorization page in your default browser.
If the browser does not open or you wish to use a different device to authorize this request, open the following URL:
https://REDACTED.awsapps.com/start/#/device
Then enter the code:
REDACTED
Successfully logged into Start URL: https://REDACTED.awsapps.com/start/#
Gtk-Message: 09:18:57.018: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
[36335, Main Thread] WARNING: GTK+ module /snap/firefox/5751/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.: 'glib warning', file /build/firefox/parts/firefox/build/toolkit/xre/nsSigHandlers.cpp:201
(firefox_firefox:36335): Gtk-WARNING **: 09:18:57.083: GTK+ module /snap/firefox/5751/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
Gtk-Message: 09:18:57.083: Failed to load module "canberra-gtk-module"
[36335, Main Thread] WARNING: GTK+ module /snap/firefox/5751/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.: 'glib warning', file /build/firefox/parts/firefox/build/toolkit/xre/nsSigHandlers.cpp:201
(firefox_firefox:36335): Gtk-WARNING **: 09:18:57.084: GTK+ module /snap/firefox/5751/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
Gtk-Message: 09:18:57.084: Failed to load module "canberra-gtk-module"
Error running command: `aws sso login --profile=REDACTED`
$ echo $?
1
$ yawsso auto --profile REDACTED --this
$ echo $?
0
Due to my browser atm complaining about
atk-bridgeandcanberra-gtk-modulemodules, for some reason yawsso is bailing out on the logging in; Though I am logged in and session fully setup thus runningyawsso auto --profile myprofile --thiswill succeed without an explicit login.Here is the console output