#dagger login broken in 0.12?

1 messages · Page 1 of 1 (latest)

snow lichen
#

Part 2 of my issues with dagger login in 0.12.

My troubles continue, after manually copy-pasting the URL and completing auth (browser says "congratulations! you're all set") but it appears I am not all set. I get the 'logged out experience', 'w' in TUI sends me to dagger.cloud/traces/setup, which in turn redirects me to my dagger cloud landing page, since I am logged in in the browser.

Not sure how to verify whether my CLI is logged in also? ~/.dagger/ exists but is empty.

#

cc @brisk knot @proud jewel @sly pumice continuing here

#

after some search, it appears on Mac it's ~/Library/Application Support/dagger that should not be empty

#

OK it is indeed worse than I thought. My "workaround" actually doesn't work. If I exit the TUI and then follow the auth link, the browser tells me "you're all set" but that is actually a lie, because the TUI was not able to finalize login and store credentials/org info locally. If I re-run dagger login, it generates a new link and it all starts again

#

The only fix is to MANUALLY copy the auth link to the browser and follow it while the TUI is running

brisk knot
#

hm, weirdly, i can click on the link, though i can't select text

#

that's in gnome terminal

snow lichen
#

Added a workaround on MacOS: take a screenshot, clink the link from screenshot 😛

proud jewel
#

FWIW I can also click on the link with urxvt.

#

which terminal are you running on your Mac @snow lichen ?

snow lichen
#

it's in the issue

#

zed, ghostty

#

both break for me

#

tui otherwise works great on both

sly pumice
#

@snow lichen does ctrl+clicking/shift+clicking/cmd+clicking the URL do anything?

proud jewel
sly pumice
#

IME some terminal emulators need that since they don't aggressively look for URLs in some situations (in our case, maybe because the TUI enables mouse input)

snow lichen
#

running to catch a train at the moment will reply in 60mn or so

proud jewel
snow lichen