gitea.tea/modules/auth
James Braid 35bd5eb58a fix(oauth): don't wait for the browser opener to exit
open.Run waits for xdg-open, which opens the browser in the foreground. We wait
for open.Run before reading the callback, so the login never completes.

Instead, use open.Start which launches the opener and returns.

Fixes oAuth logins which were hanging indefinitely after authenticating in the
browser.

Signed-off-by: James Braid <jamesb@loreland.org>
2026-08-15 21:42:51 +00:00
..
oauth.go fix(oauth): don't wait for the browser opener to exit 2026-08-15 21:42:51 +00:00
oauth_test.go fix(oauth): don't wait for the browser opener to exit 2026-08-15 21:42:51 +00:00