Skip to content

Enable manual redirect handling #160

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Enable manual redirect handling #160

wants to merge 5 commits into from

Conversation

tjg23
Copy link

@tjg23 tjg23 commented Jan 27, 2025

Adds an optional boolean parameter to the signIn method from the useAuthActions hook to disable the automatic redirect. Defaults to true, so existing uses should be unaffected, but if set to false then the signIn function will not redirect, instead only returning the URL to be handled by the client. Enables behavior similar to the React Native OAuth flow for other platforms with similar restrictions on redirects, such as applications built with Tauri.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link

vercel bot commented Jan 27, 2025

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

Name Status Preview Updated (UTC)
convex-auth-docs ✅ Ready (Inspect) Visit Preview Apr 29, 2025 8:29pm

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.

1 participant