Skip to content

Commit

Permalink
[Auth] Query with kSecAttrSynchronizable when auth sharing enabled (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ncooke3 authored Sep 15, 2024
1 parent e81ea8e commit e3822e6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions FirebaseAuth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Unreleased
- [Fixed] Restore Firebase 10 behavior by querying with the
`kSecAttrSynchronizable` key when auth state is set to be shared across
devices. (#13584)

# 11.2.0
- [Fixed] Fixed crashes that could occur in Swift continuation blocks running in the Xcode 16
betas. (#13480)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ class AuthStoredUserManager {
]
query[kSecUseDataProtectionKeychain as String] = true

if shareAuthStateAcrossDevices {
query[kSecAttrSynchronizable as String] = true
}

return query
}
}

0 comments on commit e3822e6

Please sign in to comment.