Skip to content

Increase wait time for OAuth login and copy URL to clipboard - #10069

Merged
Wires77 merged 1 commit into
PathOfBuildingCommunity:devfrom
kylhuk:feat/auth-hardening
Aug 1, 2026
Merged

Increase wait time for OAuth login and copy URL to clipboard#10069
Wires77 merged 1 commit into
PathOfBuildingCommunity:devfrom
kylhuk:feat/auth-hardening

Conversation

@kylhuk

@kylhukkylhuk commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Fixes # .

  • Increase the OAuth callback timeout and both authentication countdowns from 30 to 60 seconds.
  • Copy the complete callback URL to the clipboard before opening the browser.
  • Tell users in both OAuth login surfaces that the URL was copied.
  • Update the callback-server comments to describe the current retry, timeout, and clipboard behavior.

Description of the problem being solved:

OAuth login can fail when the automatic browser launch does not work, especially under Wine or other platform compatibility layers. The copied URL gives users a reliable fallback without changing the existing authentication flow.

Related discussion: #10064

Steps taken to verify a working solution:

  • Local tests

@Wires77Wires77 added the enhancement New feature, calculation, or mod label Aug 1, 2026
@Wires77Wires77 changed the title Improve OAuth loginIncrease wait time for OAuth login and copy URL to clipboardAug 1, 2026
@Wires77
Wires77 merged commit dfbca5a into PathOfBuildingCommunity:devAug 1, 2026
@kylhuk
kylhuk deleted the feat/auth-hardening branch August 3, 2026 18:43
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancementNew feature, calculation, or mod

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@kylhuk@Wires77