Skip to content

snapcraft install cannot login #751

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Geroxus opened this issue May 16, 2025 · 3 comments
Open

snapcraft install cannot login #751

Geroxus opened this issue May 16, 2025 · 3 comments
Labels
bug Something isn't working has internal tracking issue

Comments

@Geroxus
Copy link

Geroxus commented May 16, 2025

Description

After installing stackit-cli via snap the stackit auth login command runs indefinitely without opening a browser.

Steps to reproduce

  1. Run sudo snap install stackit --beta --classic
  2. 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.

@Geroxus Geroxus added the bug Something isn't working label May 16, 2025
@marceljk
Copy link
Contributor

marceljk commented May 16, 2025

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?

@Geroxus
Copy link
Author

Geroxus commented May 16, 2025

Hi @marceljk

your suggested workaround worked, thanks.

Good luck on the issue hunt ig ^^

@rubenhoenle
Copy link
Member

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 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working has internal tracking issue
Projects
None yet
Development

No branches or pull requests

3 participants