Skip to content

Enable manual redirect handling#160

Open
tjg23 wants to merge 5 commits into
get-convex:mainfrom
tjg23:main
Open

Enable manual redirect handling#160
tjg23 wants to merge 5 commits into
get-convex:mainfrom
tjg23:main

Conversation

@tjg23

@tjg23 tjg23 commented Jan 27, 2025

Copy link
Copy Markdown

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.

@vercel

vercel Bot commented Jan 27, 2025

Copy link
Copy Markdown

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