Skip to content

fix(auth): keep pending on social redirect#182

Merged
onmax merged 4 commits intomainfrom
feat/social-provider-dx
Feb 21, 2026
Merged

fix(auth): keep pending on social redirect#182
onmax merged 4 commits intomainfrom
feat/social-provider-dx

Conversation

@onmax
Copy link
Collaborator

@onmax onmax commented Feb 21, 2026

Summary

  • keep auth action status as pending when social sign-in returns a redirect payload
  • add a 10s fallback to settle to success if navigation does not occur
  • add regression test for redirect pending behavior in useSignIn

Tests

  • pnpm -C /Users/maxi/nuxt/better-auth exec vitest run test/use-signin.test.ts
  • pnpm -C /Users/maxi/nuxt/better-auth exec vitest run test/use-user-session.test.ts

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 21, 2026

Open in StackBlitz

npm i https://pkg.pr.new/nuxt-modules/better-auth/@onmax/nuxt-better-auth@182

commit: aa9eaed

@onmax onmax merged commit c820f85 into main Feb 21, 2026
3 checks passed
@onmax onmax deleted the feat/social-provider-dx branch February 21, 2026 14:44
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