Skip to content

Commit

Permalink
Merge pull request #392 from ForgeRock/SDKS-2963
Browse files Browse the repository at this point in the history
ForgeRock Android SDK 4.3.1 Release Preparation
  • Loading branch information
spetrov authored Feb 9, 2024
2 parents 552628d + f476310 commit 22ec0bd
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 13 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
## [4.3.1]
#### Fixed
- Fixed and issue where the SDK was crashing during device binding on Android 9 devices [SDKS-2948]

## [4.3.0]
#### Added
- Added the ability to customize cookie headers in outgoing requests from the SDK [SDKS-2780]
- Added the ability to insert custom claims when performing device signing verification [SDKS-2787]
- Added client-side support for the `AppIntegrity` callback [SDKS-2631]


#### Fixed
- The SDK now uses `auth-per-use` keys for Device Binding [SDKS-2797]
- Improved handling of WebAuthn cancellations [SDKS-2819]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022 - 2023 ForgeRock. All rights reserved.
* Copyright (c) 2022 - 2024 ForgeRock. All rights reserved.
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand Down Expand Up @@ -40,8 +40,8 @@ public class AppIntegrityCallbackTest {

protected static Context context = ApplicationProvider.getApplicationContext();

protected final static String AM_URL = "https://localam.petrov.ca/openam";
protected final static String REALM = "root";
protected final static String AM_URL = "https://openam-integrity1.forgeblocks.com/am";
protected final static String REALM = "alpha";
protected final static String OAUTH_CLIENT = "AndroidTest";
protected final static String OAUTH_REDIRECT_URI = "org.forgerock.demo:/oauth2redirect";
protected final static String SCOPE = "openid profile email address phone";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 ForgeRock. All rights reserved.
* Copyright (c) 2023 - 2024 ForgeRock. All rights reserved.
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand Down Expand Up @@ -31,7 +31,7 @@ public abstract class BaseDeviceBindingTest {
protected static Context context = ApplicationProvider.getApplicationContext();

// This test uses dynamic configuration with the following settings:
protected final static String AM_URL = "https://openam-spetrov.forgeblocks.com/am";
protected final static String AM_URL = "https://openam-dbind.forgeblocks.com/am";
protected final static String REALM = "alpha";
protected final static String OAUTH_CLIENT = "AndroidTest";
protected final static String OAUTH_REDIRECT_URI = "org.forgerock.demo:/oauth2redirect";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019 - 2023 ForgeRock. All rights reserved.
* Copyright (c) 2019 - 2024 ForgeRock. All rights reserved.
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand Down Expand Up @@ -80,7 +80,7 @@ public void testSha256Pinning() throws InterruptedException {
ServerConfig serverConfig = ServerConfig.builder()
.context(context)
.url("https://api.ipify.org")
.pin("9hNxmEFgLKGJXqgp61hyb8yIyiT9u0vgDZh4y8TmY/M=")
.pin("HMSZyV3whmhwmQlqNPIlvpQA9AHHQ9aj1CEDqFkAuyE=")
.build();

OkHttpClient client = OkHttpClientProvider.getInstance().lookup(serverConfig);
Expand Down Expand Up @@ -122,7 +122,7 @@ public void testMultiplePinning() throws InterruptedException {
ServerConfig serverConfig = ServerConfig.builder()
.context(context)
.url("https://api.ipify.org")
.pin("9hNxmEFgLKGJXqgp61hyb8yIyiT9u0vgDZh4y8TmY/M=")
.pin("HMSZyV3whmhwmQlqNPIlvpQA9AHHQ9aj1CEDqFkAuyE=")
.pin("invalid")
.build();

Expand Down Expand Up @@ -214,7 +214,7 @@ public void testBuildStepWithCustomPin() throws InterruptedException {
.context(context)
.url("https://api.ipify.org")
.buildStep(builder -> builder.certificatePinner(
new CertificatePinner.Builder().add("api.ipify.org", "sha1/2vB3hhEJ98C5efhhWpxtD2wxYek=" ).build()))
new CertificatePinner.Builder().add("api.ipify.org", "sha1/40WpRckJNrzdAexnwLvKG7aK3qk=" ).build()))
.build();

OkHttpClient client = OkHttpClientProvider.getInstance().lookup(serverConfig);
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2019 - 2022 ForgeRock. All rights reserved.
# Copyright (c) 2019 - 2024 ForgeRock. All rights reserved.
#
# This software may be modified and distributed under the terms
# of the MIT license. See the LICENSE file for details.
Expand All @@ -23,8 +23,8 @@ kotlin.code.style=official
android.useAndroidX=true

GROUP=org.forgerock
VERSION=4.3.0
VERSION_CODE=19
VERSION=4.3.1
VERSION_CODE=20
android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false
android.nonFinalResIds=false

0 comments on commit 22ec0bd

Please sign in to comment.