Rename to OMS Wallet and align session/OIDC auth#57
Conversation
|
Claude finished @tolgahan-arikan's task —— View job PR Review: Add structured session auth and Apple defaults
Overall this is a clean, well-structured refactor. The 🔴 Backward-compat / migration gap (behavior + coverage)On restore,
🟡
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e8043fd9e2
ℹ️ 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".
|
@claude review |
|
Claude finished @tolgahan-arikan's task —— View job PR Review: Add structured session auth and Apple defaults
Solid, cohesive PR. The ✅ Codex "return a copy of session auth" — already fixedCodex flagged that returning
No change needed here. 👍 ✅ Prior review "id-token flow is public but never produced" — now resolved
✅ Prior review "legacy migration/silent sign-out has no test" — now covered
New
|
Summary
pnpm verifyand run it in CI.@polygonlabs/oms-wallet,@polygonlabs/oms-wallet-wagmi-connector, root exportOMSWallet, stable0.2.0metadata, and fullpnpm verifychecks for stable, prerelease, and snapshot releases.loginType/sessionEmailmetadata with structuredOMSWalletSessionAuthfor email, OIDC redirect, and OIDC ID-token sessions, including expiry handling and provider-aware session labels.signInWithOidcIdToken, built-in Apple OIDC defaults alongside Google, provider/providerLabel/email auth metadata, configurable OIDC auth modes, and session lifetime validation up to 30 days.omsRelayReturnUriand provider-specific callbacks at{apiBase}/auth/waas/callback/{google|apple}; custom providers requireproviderRedirectUriand cannot use the OMS relay option.Diff Drivers
walletClient.ts, which replaces the session/auth state model and enforces the default-versus-custom OIDC boundary. Session, redirect, ID-token, transaction, error-contract, and type tests expand alongside that behavior.scripts/public-api-baseline.txtis an 895-line generated public-API contract, not runtime implementation. Release verification scripts and type checks make package publishing repeatable.Review
omsRelayReturnUriis rejected for custom providers.Validation
pnpm verifypnpm test:typespnpm exec tsc --noEmitpnpm testpnpm check:stable-package-versionspnpm buildpnpm --filter @polygonlabs/oms-wallet-wagmi-connector buildgit diff --check