Skip to content

[AUT-3290] Remove verbose device integrity error log#74

Draft
stevenclouston wants to merge 11 commits intomainfrom
stevenclouston/remove-verbose-device-integrity-logs
Draft

[AUT-3290] Remove verbose device integrity error log#74
stevenclouston wants to merge 11 commits intomainfrom
stevenclouston/remove-verbose-device-integrity-logs

Conversation

@stevenclouston
Copy link
Copy Markdown
Contributor

Summary

  • Remove Logger.error that exposed App Attest failure details
  • Bump version to 2.4.1

Test plan

  • Build succeeds
  • Device integrity flow works end-to-end

Remove AppAttestationProvider enum from public API. The provider is now
hardcoded as "APP_ATTEST" in the request since iOS only ever uses App Attest.
Public AppAttestation struct now just takes token and optional keyId.
Also bumps version to 2.4.0-alpha.2.
Instead of requiring callers to generate the App Attest attestation
externally and pass it in, the SDK now generates it internally using
the correct nonce format (tenantID:publicKey) when appAttestation
is provided as a signal to enable attestation.
Avoids confusion with the Authsignal JWT token used elsewhere in the SDK.
Change appAttestation param from AppAttestation? to Bool. When true,
the SDK generates the attestation using the idempotencyKey from the
JWT token as the nonce instead of requiring the caller to provide it.
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.

1 participant