Skip to content

sync : Sync main to v5_developement - #1105

Merged
pmathew92 merged 26 commits into
v5_developmentfrom
sync/main_v5
Oct 23, 2026
Merged

pmathew92 merged 26 commits into
v5_developmentfrom
sync/main_v5

Conversation

@pmathew92

@pmathew92 pmathew92 commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Changes

This PR brings the current changes in main to the v5_developement branch

Checklist

Summary by CodeRabbit

  • New Features
    • Added beta embedded authentication flows for email and phone OTP, push approval, recovery codes, and TOTP, with typed errors and session-aware continuation.
    • Added an interactive sample app demonstrating embedded authentication.
  • Documentation
    • Added setup guidance and examples for embedded authentication and its supported factors.
  • Chores
    • Updated the SDK version to 5.0.0-beta.0 and expanded CI triggers to include the development branch.

utkrishtsahu and others added 26 commits October 9, 2026 15:30
Bumps the codeql group with 3 updates: [github/codeql-action/init](https://github.com/github/codeql-action), [github/codeql-action/autobuild](https://github.com/github/codeql-action) and [github/codeql-action/analyze](https://github.com/github/codeql-action).


Updates `github/codeql-action/init` from 4.38.2 to 4.38.3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@2892aa5...24c5418)

Updates `github/codeql-action/autobuild` from 4.38.2 to 4.38.3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@2892aa5...24c5418)

Updates `github/codeql-action/analyze` from 4.38.2 to 4.38.3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@2892aa5...24c5418)

---
updated-dependencies:
- dependency-name: github/codeql-action/init
  dependency-version: 4.38.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: codeql
- dependency-name: github/codeql-action/autobuild
  dependency-version: 4.38.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: codeql
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.38.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: codeql
...

Signed-off-by: dependabot[bot] <support@github.com>
… Keystore2

Port of #1048 from release/3.x. Dropped the API < 23 KeyPairGeneratorSpec
branch (not present on main) and migrated the new test from PowerMockito
to Mockito.

(cherry picked from commit fcb50ee)
- Add PasskeyVerificationMethod and use it for verification codes and identifiers
- Retryable when invalid_grant has auth_session, or invalid_request for a missing/empty code
- Reject blank verification codes before the network call
- verification defaults to emptyMap; verificationRequired defaults to an empty list
- Reuse passwordless.DeliveryMethod instead of PasskeyDeliveryMethod
- Treat HTTP 429 as isTooManyAttempts; remove isTooManyRequests
- Add mfa_required test; update passkey docs

Co-Authored-By: Claude
Co-Authored-By: Claude <noreply@anthropic.com>
- Retryable when invalid_grant or invalid_request carries an auth_session
- PasskeyVerificationMethod is a plain enum; verificationRequired is nullable
- Map plain-text 429 to too_many_attempts; keep isTooManyAttempts code-only
- Validate blank codes before serializing; reuse the client gson
- Update passkey docs and tests

Co-Authored-By: Claude
Not every 429 means too_many_attempts. Keep isTooManyAttempts and the plain-text
error code unchanged from main, and document checking statusCode == 429 for the
signupWithPasskey rate limit.

Co-Authored-By: Claude
- Send verification codes as-is; the server reports missing/empty codes
- passkeyVerificationRequired is only set for invalid_grant
- Docs: describe the two retryable cases, drop the rate-limit note

Co-Authored-By: Claude
…-java group (#1097)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Prince Mathew <17837162+pmathew92@users.noreply.github.com>
- Add signinWithPasskey(challenge, ...) that checks codes against verificationRequired
  before sending, and only sends the required ones
- Fail locally with an invalid_request shaped like the server error for an empty map,
  a missing identifier, or an empty or whitespace-only code
- Only invalid_grant with auth_session is retryable for now
- Update KDoc, tests and passkey docs

Co-Authored-By: Claude
- Report the first required identifier without a code, including for an empty map
- Only reject empty codes; send whitespace codes and non-required codes as given
- Local error carries only error and error_description

Co-Authored-By: Claude
- Remove signinWithPasskey(challenge, ...)
- Add verificationRequired (default empty) to the signinWithPasskey overloads; the
  codes are checked against it before sending
- Update tests and passkey docs

Co-Authored-By: Claude
@pmathew92
pmathew92 requested a review from a team as a code owner October 23, 2026 06:58
@coderabbitai

coderabbitai Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Team
  • Run ID: 1e2acdb3-dcf6-4d5b-b47b-b4c2105bff97

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@pmathew92
pmathew92 changed the base branch from main to v5_development October 23, 2026 06:59
@pmathew92
pmathew92 merged commit 4a188d0 into v5_development Oct 23, 2026
7 checks passed
@pmathew92
pmathew92 deleted the sync/main_v5 branch October 23, 2026 07:19
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.

4 participants