snapcraft install cannot login
Description
After installing stackit-cli via snap the stackit auth login command runs indefinitely without opening a browser.
Steps to reproduce
- Run
sudo snap install stackit --beta --classic - Run
stackit auth login
Actual behavior
Runs indedfinitely without providing feedback.
Expected behavior
Opening a browser window and allowing me to login.
Environment
- Operating System: EndeavourOS
- Kernel: Linux 6.14.5-arch1-1
- Architecture: x86-64
- Version of STACKIT CLI (see
stackit --version):0.32.0 (2025-05-13)
Additional information
Generally activated sandboxing for snap.
Hi @Geroxus,
thanks for reporting this issue. I'll create internal a ticket to check what's the issue there.
As workaround, you can try to run stackit auth login --verbosity debug. There should be a message with "opening browser for authentication: https://accounts.stackit.cloud/oauth/v2/authorize?client_id=stackit-cli-0000-0000-000000000001....". Then you can open your browser manually with the provided URL.
If the message doesn't show up, can you please post the logs here?
Hi @marceljk
your suggested workaround worked, thanks.
Good luck on the issue hunt ig ^^
Hi @Geroxus,
I'm having troubles when trying to reproduce this on my system. Could you check if there are any error log outputs when running the login with the debug output?
stackit auth login --verbosity debug
If so, it would be very helpful if you could paste them here. Thanks 😄
Hi @Geroxus,
since we were not able to reproduce the issue on our side and we're still waiting for your feedback on my last question, I will close this issue for now.
Feel free to re-open in case you want to provide the debug output so we can have another look onto this.
Best regards Ruben