Repository navigation
docs(world-id): create sessions with uniqueness proofs - #215
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 51662529f4
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| const request = await IDKit.request({ | ||
| app_id, | ||
| action: "signup", | ||
| session_id: "create", |
There was a problem hiding this comment.
Publish the SDK support before documenting this option
The currently published @worldcoin/idkit-core 4.4.0 does not include the session_id property added by IDKit #357, so users following this example receive an unknown-property TypeScript error and older runtimes cannot create the bound session. Please either wait for and state the minimum package version containing that PR, or avoid publishing this flow until that release is available.
Useful? React with 👍 / 👎.
Session IDs alone do not prevent duplicate enrollment. Add a small Create a session with a uniqueness proof section to the existing Session proofs guide, using
IDKit.request({ action, session_id: "create" }).Covers signing the enrollment action, verifying the complete result, enforcing nullifier uniqueness, and proving the saved session on later visits. The result contains the uniqueness action/nullifier together with the new session ID.
Only
world-id/idkit/session-proofs.mdxchanges. Documents the SDK behavior from IDKit #357 and verification support from Developer Portal #2374.Validation: focused spellcheck and
git diff --checkpass; existing links are unchanged from the passing Mintlify broken-link check.