Skip to content

Rebase main with v4#936

Merged
pmathew92 merged 19 commits intov4_developmentfrom
rebase_main
Mar 12, 2026
Merged

Rebase main with v4#936
pmathew92 merged 19 commits intov4_developmentfrom
rebase_main

Conversation

@pmathew92
Copy link
Contributor

Changes

This PR rebases the main branch with the changes from v4_development

Copilot AI review requested due to automatic review settings March 12, 2026 09:12
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR rebases main with changes from v4_development, including SDK behavior updates (telemetry headers, crypto migration robustness), API deprecations, and accompanying test/docs/version updates.

Changes:

  • Ensure Auth0-Client header is set for MyAccount and MFA API requests, with tests validating it.
  • Improve CryptoUtil handling around Android 12+ ProviderException during RSA/AES key operations and PKCS1→OAEP migration paths, with expanded test coverage.
  • Deprecate legacy/soon-to-be-removed APIs and update docs/changelog/version plus a GitHub Action flag.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
auth0/src/test/java/com/auth0/android/myaccount/MyAccountAPIClientTest.kt Adds header assertion test; formatting tweaks; adds a constant.
auth0/src/test/java/com/auth0/android/authentication/storage/CryptoUtilTest.java Adds extensive tests covering ProviderException/migration/regeneration scenarios.
auth0/src/test/java/com/auth0/android/authentication/MfaApiClientTest.kt Adds tests ensuring Auth0-Client header is present across MFA calls; import/format cleanup.
auth0/src/main/java/com/auth0/android/myaccount/MyAccountAPIClient.kt Sets Auth0-Client info on the RequestFactory during initialization.
auth0/src/main/java/com/auth0/android/management/UsersAPIClient.kt Marks UsersAPIClient as deprecated.
auth0/src/main/java/com/auth0/android/management/ManagementException.kt Marks ManagementException as deprecated.
auth0/src/main/java/com/auth0/android/authentication/storage/CryptoUtil.java Adds/adjusts ProviderException handling and key migration/regeneration cleanup behavior.
auth0/src/main/java/com/auth0/android/authentication/mfa/MfaApiClient.kt Ensures MFA RequestFactory instances include Auth0-Client info.
auth0/src/main/java/com/auth0/android/authentication/AuthenticationAPIClient.kt Deprecates legacy MFA-related methods in favor of MfaApiClient.
EXAMPLES.md Updates DPoP docs section/title/TOC anchors (removes EA labeling/note).
CHANGELOG.md Adds 3.14.0 release notes entries for the included fixes/deprecations.
.version Bumps SDK version to 3.14.0.
.github/actions/rl-scanner/action.yml Updates scanner flag name to --suppress-output.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


private companion object {
private const val CLIENT_ID = "CLIENTID"
private const val DOMAIN = "test-domain"
Copy link

Copilot AI Mar 12, 2026

Choose a reason for hiding this comment

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

DOMAIN is declared but not used anywhere in this test file. If it’s leftover from an earlier version of the setup, removing it will avoid accumulating dead constants (and potential unused-constant warnings in stricter builds).

Suggested change
private const val DOMAIN = "test-domain"

Copilot uses AI. Check for mistakes.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed



@Deprecated(
"""ManagementException is deprecated and will be removed in the next major version of the SDK. """,
Copy link

Copilot AI Mar 12, 2026

Choose a reason for hiding this comment

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

The deprecation message literal has an extra trailing space before the closing triple-quote ("SDK. "). This will show up in the warning text; consider removing the extra space so the message is clean.

Suggested change
"""ManagementException is deprecated and will be removed in the next major version of the SDK. """,
"""ManagementException is deprecated and will be removed in the next major version of the SDK.""",

Copilot uses AI. Check for mistakes.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@pmathew92 pmathew92 merged commit 220297a into v4_development Mar 12, 2026
10 checks passed
@pmathew92 pmathew92 deleted the rebase_main branch March 12, 2026 09:21
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