Skip to content

Conversation

@halvaradop
Copy link
Member

@halvaradop halvaradop commented Jan 9, 2026

Description

This pull request implements timeout handling for fetch requests used to communicate with external services during OAuth flows and user information retrieval. The new implementation introduces a time limit for requests, ensuring they are canceled if they exceed the configured timeout. This helps prevent long-running or hanging requests and improves overall reliability.

Note

The default timeout is 5000 milliseconds (5 seconds).

Affected consumers

  • Retrieving access tokens via the accessToken configuration option for OAuth providers
  • Retrieving sessions
  • Retrieving user information via the userInfo configuration option for OAuth providers

@vercel
Copy link

vercel bot commented Jan 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
auth-nextjs-demo Ready Ready Preview, Comment Jan 9, 2026 11:22pm
1 Skipped Deployment
Project Deployment Review Updated (UTC)
auth Skipped Skipped Jan 9, 2026 11:22pm

@vercel vercel bot temporarily deployed to Preview – auth January 9, 2026 23:22 Inactive
@halvaradop halvaradop merged commit a3f316b into master Jan 9, 2026
6 checks passed
@halvaradop halvaradop deleted the feat/add-timeouts branch January 9, 2026 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants