You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(auth): adding support for keychain sharing using app groups (#3947)
* feat(Auth) Keychain Sharing (App Reload Required)
* Remove migrateKeychainItemsOfUserSession bool from SecureStoragePreferences
* Reconfigure when fetching auth session if sharing keychain
* Update API dumps for new version
* Indentation, clean up, and batch migration to avoid inconsistent state
* Update API dumps for new version
* Addressing review comments: documentation, no more credentials valid check, only delete items if absolutely necessary
* Style fixes
---------
Co-authored-by: Yaro Luchko <[email protected]>
Co-authored-by: aws-amplify-ops <[email protected]>
Copy file name to clipboardExpand all lines: AmplifyPlugins/Auth/Tests/AWSCognitoAuthPluginUnitTests/ConfigurationTests/AWSCognitoAuthPluginAmplifyOutputsConfigTests.swift
+80
Original file line number
Diff line number
Diff line change
@@ -123,4 +123,84 @@ class AWSCognitoAuthPluginAmplifyOutputsConfigTests: XCTestCase {
123
123
XCTFail("Should not throw error. \(error)")
124
124
}
125
125
}
126
+
127
+
/// Test Auth configuration with valid config for user pool and identity pool, with secure storage preferences
128
+
///
129
+
/// - Given: Given valid config for user pool and identity pool with secure storage preferences
130
+
/// - When:
131
+
/// - I configure auth with the given configuration and secure storage preferences
132
+
/// - Then:
133
+
/// - I should not get any error while configuring auth
0 commit comments