Skip to content

Add UI to the react-password demo - #406

Merged
Nicolapps merged 3 commits into
rebootfrom
nicolas/react-password-ui
Jul 15, 2026
Merged

Nicolapps merged 3 commits into
rebootfrom
nicolas/react-password-ui

Conversation

@Nicolapps

@Nicolapps Nicolapps commented Jul 14, 2026 •

Copy link
Copy Markdown
Member

No description provided.

@vercel
vercel Bot temporarily deployed to Preview – auth-v2 July 14, 2026 19:44 Inactive
@vercel

vercel Bot commented Jul 14, 2026 •

Copy link
Copy Markdown

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

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
convex-auth-docs Ignored Ignored Jul 15, 2026 12:33am
auth-v2 Skipped Skipped Jul 15, 2026 12:33am

Request Review

@github-actions

Copy link
Copy Markdown

⚠️ This PR modifies the Rust code.

For these changes to take effect in the TypeScript code, you will need to:

  1. Publish a new version of the argon2id-wasm package on npm.
  2. Update the dependency on argon2id-wasm in the core component.

Nicolapps commented Jul 14, 2026 •

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0

- name: Use Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0

- name: Use Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
run: pnpm install --frozen-lockfile

- name: Publish
run: pnpm dlx pkg-pr-new publish --no-template ./packages/core
@Nicolapps
Nicolapps changed the base branch from main to graphite-base/406 July 14, 2026 19:44
@Nicolapps
Nicolapps changed the base branch from graphite-base/406 to reboot July 14, 2026 19:45
@Nicolapps Nicolapps changed the title Prep work for next version of Convex Auth (#354) Add UI to the react-password demo Jul 14, 2026
@Nicolapps
Nicolapps force-pushed the nicolas/react-password-ui branch from bdb49d4 to d90020b Compare July 14, 2026 19:54
@vercel
vercel Bot temporarily deployed to Preview – auth-v2 July 14, 2026 19:54 Inactive
@pkg-pr-new

pkg-pr-new Bot commented Jul 14, 2026 •

Copy link
Copy Markdown
npm i https://pkg.pr.new/@convex-dev/auth@406

commit: 44dd322

@Nicolapps
Nicolapps force-pushed the nicolas/react-password-ui branch from d90020b to 19b6175 Compare July 14, 2026 20:10
@vercel
vercel Bot temporarily deployed to Preview – auth-v2 July 14, 2026 20:10 Inactive
@Nicolapps
Nicolapps force-pushed the nicolas/react-password-ui branch from 19b6175 to 7c0600d Compare July 14, 2026 20:26
@vercel
vercel Bot temporarily deployed to Preview – auth-v2 July 14, 2026 20:26 Inactive
@Nicolapps
Nicolapps force-pushed the nicolas/react-password-ui branch from 7c0600d to 794199d Compare July 14, 2026 22:28
@vercel
vercel Bot temporarily deployed to Preview – auth-v2 July 14, 2026 22:28 Inactive
@Nicolapps
Nicolapps changed the base branch from reboot to graphite-base/406 July 14, 2026 23:05
@Nicolapps
Nicolapps force-pushed the nicolas/react-password-ui branch from 794199d to 6b117b2 Compare July 14, 2026 23:05
@Nicolapps
Nicolapps force-pushed the graphite-base/406 branch from 24f4e68 to d0952f9 Compare July 14, 2026 23:05
@vercel
vercel Bot temporarily deployed to Preview – auth-v2 July 14, 2026 23:05 Inactive
@Nicolapps
Nicolapps changed the base branch from graphite-base/406 to nicolas/fix_auth_init_script_to_use_typescript July 14, 2026 23:05
@Nicolapps
Nicolapps marked this pull request as ready for review July 14, 2026 23:06
@Nicolapps
Nicolapps requested a review from dowski July 14, 2026 23:06
@Nicolapps
Nicolapps changed the base branch from nicolas/fix_auth_init_script_to_use_typescript to graphite-base/406 July 15, 2026 00:14
@Nicolapps
Nicolapps marked this pull request as draft July 15, 2026 00:16
@Nicolapps
Nicolapps removed the request for review from dowski July 15, 2026 00:17
@Nicolapps
Nicolapps force-pushed the graphite-base/406 branch from d0952f9 to 3b7e2fe Compare July 15, 2026 00:26
@Nicolapps
Nicolapps force-pushed the nicolas/react-password-ui branch from 6b117b2 to 108cbdf Compare July 15, 2026 00:26
@vercel
vercel Bot temporarily deployed to Preview – auth-v2 July 15, 2026 00:26 Inactive
@graphite-app
graphite-app Bot changed the base branch from graphite-base/406 to reboot July 15, 2026 00:27
@Nicolapps
Nicolapps force-pushed the nicolas/react-password-ui branch from 108cbdf to 88e7f46 Compare July 15, 2026 00:27
@vercel
vercel Bot temporarily deployed to Preview – auth-v2 July 15, 2026 00:27 Inactive
@Nicolapps
Nicolapps changed the base branch from reboot to graphite-base/406 July 15, 2026 00:31
@Nicolapps
Nicolapps force-pushed the graphite-base/406 branch from 3b7e2fe to bd68f9b Compare July 15, 2026 00:31
@Nicolapps
Nicolapps force-pushed the nicolas/react-password-ui branch from 88e7f46 to c7d5d5e Compare July 15, 2026 00:31
@vercel
vercel Bot temporarily deployed to Preview – auth-v2 July 15, 2026 00:31 Inactive
@Nicolapps
Nicolapps changed the base branch from graphite-base/406 to main July 15, 2026 00:31
@Nicolapps
Nicolapps changed the base branch from main to graphite-base/406 July 15, 2026 00:32
@Nicolapps
Nicolapps force-pushed the nicolas/react-password-ui branch from c7d5d5e to 44dd322 Compare July 15, 2026 00:33
@Nicolapps
Nicolapps changed the base branch from graphite-base/406 to reboot July 15, 2026 00:33
@vercel
vercel Bot temporarily deployed to Preview – auth-v2 July 15, 2026 00:33 Inactive
@Nicolapps
Nicolapps marked this pull request as ready for review July 15, 2026 00:33
@Nicolapps
Nicolapps requested a review from dowski July 15, 2026 00:33
@Nicolapps Nicolapps mentioned this pull request Jul 15, 2026
Comment on lines +121 to +138
setError(null);
setPending(true);
try {
const result = await signIn({ username, password });
if (result.success) {
// Adopting the session flips <Unauthenticated> to <Authenticated>,
// which unmounts this form.
await setSession(result.tokens);
return;
}
setError(describeSignInError(result.userError));
} catch {
// The action only throws for unexpected/infrastructure failures; expected
// rejections come back as `userError` above.
setError("Something went wrong. Please try again.");
} finally {
setPending(false);
}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should include small client libraries with each provider to simplify usage in common cases.

Comment thread examples/react-minimal/convex/users.ts Resolved

Nicolapps commented Jul 15, 2026 •

Copy link
Copy Markdown
Member Author

Merge activity

  • Jul 15, 3:36 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Jul 15, 3:36 PM UTC: @Nicolapps merged this pull request with Graphite.

@Nicolapps
Nicolapps merged commit 0f860d7 into reboot Jul 15, 2026
14 checks passed

This branch was previously deployed

1 inactive deployment
Preview – auth-v2 — 44dd322b Deployed Jul 15, 2026 by vercel[bot]
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.

3 participants