Skip to content

ForgeRock Android SDK 4.8.6 Release#523

Merged
spetrov merged 16 commits into
masterfrom
develop
Jun 16, 2026
Merged

ForgeRock Android SDK 4.8.6 Release#523
spetrov merged 16 commits into
masterfrom
develop

Conversation

@spetrov

@spetrov spetrov commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

JIRA Ticket

SDKS-5123 ForgeRock Android SDK 4.8.6 Release Activities

Description

Merge develop into master for the 4.8.6 Release.

witrisna and others added 16 commits January 7, 2026 11:18
The `codeVerifier` is explicitly set to `null` in the `AuthorizationRequest.Builder` for the Apple Sign-In handler.
Signed-off-by: Andy Witrisna <andy.witrisna@forgerock.com>
SDKS-4658: Set code verifier to null for Apple Sign-In
)

* SDKS-4714: Use empty request body in self-service session endpoint

Remove the `EMPTY` constant from OkHttp's `RequestBody` and has been replaced with `"".toRequestBody()`.

* Update Session.kt

Signed-off-by: Andy Witrisna <andy.witrisna@forgerock.com>

---------

Signed-off-by: Andy Witrisna <andy.witrisna@forgerock.com>
The `Thread.sleep` duration in `FRUserMockTest.kt` is increased from 1000ms to 2000ms to allow sufficient time for tokens to expire before testing the refresh token flow.
* Updated  for the ForgeRock 4.8.4 release
* Fixed various e2e test cases.
* Updating README with maintenance information

* Rename contribution file name
* Removed Sonatype OSS Index Scan from the CI (this service has been discontinued)

* Updated version number for the ForgeRock 4.8.5 release

* Fix mend tasks to fail the pipeline if critical or high vulnerabilities are found
…me (#519)

* SDKS-5096: Enhance WebAuthn registration by adding optional device name parameter
…ng and signing (#520)

* SDKS-5120: Allow configurable authenticationValidityDuration in DeviceBindingCallback and DeviceSigningVerifierCallback

* PR review - guard authentication validity duration.
… exception (#521)

* [fix] SDKS-5114 Handle AM 400 for Push Number Challenge with distinct exception

AM 8.1.0 (OPENAM-24154) returns HTTP 400 when a user selects the wrong number
in a Push Number Challenge. Previously the SDK surfaced a generic
PushMechanismException with no semantic meaning. This fix introduces
PushNumberChallengeException (extends PushMechanismException) so callers can
distinguish a wrong-number rejection from other failures, and leaves the
PushNotification in its pending state so the app can offer a retry.

Phases:
- phase 1: Create PushNumberChallengeException (8804d77c)
- phase 2: Handle 400 for Push Number Challenge in PushResponder (fe17bf07)
- phase 3: Unit tests for 400 number-challenge path (4d57f2ca)
- code review: Remove body logging, fix test builder placement (cc910478)

Refs: SDKS-5114

* Addressing comment from Stoyan
@spetrov spetrov requested a review from vibhorgoswami June 16, 2026 20:39
@codecov

codecov Bot commented Jun 16, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 88.88889% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 65.85%. Comparing base (6874182) to head (55b3e47).

Files with missing lines Patch % Lines
...java/org/forgerock/android/auth/PushResponder.java 80.00% 0 Missing and 2 partials ⚠️
...d/auth/exception/PushNumberChallengeException.java 50.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #523      +/-   ##
============================================
+ Coverage     65.75%   65.85%   +0.10%     
- Complexity     1764     1769       +5     
============================================
  Files           264      265       +1     
  Lines          8658     8681      +23     
  Branches        969      972       +3     
============================================
+ Hits           5693     5717      +24     
+ Misses         2534     2532       -2     
- Partials        431      432       +1     
Flag Coverage Δ
unit-tests 65.85% <88.88%> (+0.10%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@vibhorgoswami vibhorgoswami left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@spetrov spetrov merged commit a66d88d into master Jun 16, 2026
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants