这是indexloc提供的服务,不要输入任何密码
Skip to content

feat(auth): optional callback port #10666

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

Merged
merged 7 commits into from
Jul 14, 2025
Merged

feat(auth): optional callback port #10666

merged 7 commits into from
Jul 14, 2025

Conversation

anthonyshew
Copy link
Contributor

Description

In some situations, users might want to change the port for the callback when logging in. This PR allows such behavior through an ` environment variable.

Testing Instructions

I manually tested that the port changes in the URL. Also added some tests.

Add 3 new tests to increase coverage from 87.50% to 90.57%:

- test_close_with_timeout: Tests the close_with_timeout method
- test_client_error_handling: Tests error handling when client fails
- test_add_session_id: Tests the add_session_id utility function

These tests cover previously untested code paths including timeout handling,
error scenarios, and utility functions.
@turbo-orchestrator turbo-orchestrator bot added the area: docs Improvements or additions to documentation label Jul 14, 2025
Copy link

vercel bot commented Jul 14, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-basic-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 14, 2025 2:33pm
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 14, 2025 2:33pm
examples-gatsby-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 14, 2025 2:33pm
examples-kitchensink-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 14, 2025 2:33pm
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 14, 2025 2:33pm
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 14, 2025 2:33pm
examples-svelte-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 14, 2025 2:33pm
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 14, 2025 2:33pm
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 14, 2025 2:33pm
turbo-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 14, 2025 2:33pm

@anthonyshew anthonyshew marked this pull request as ready for review July 14, 2025 14:33
@anthonyshew anthonyshew requested a review from a team as a code owner July 14, 2025 14:33
@anthonyshew anthonyshew merged commit 74a2980 into main Jul 14, 2025
43 checks passed
@anthonyshew anthonyshew deleted the shew/login-port branch July 14, 2025 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: docs Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants