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
Copy file name to clipboardExpand all lines: AmplifyPlugins/Auth/Sources/AWSCognitoAuthPlugin/Support/HostedUI/HostedUIASWebAuthenticationSession.swift
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,11 @@ class HostedUIASWebAuthenticationSession: NSObject, HostedUISessionBehavior {
Copy file name to clipboardExpand all lines: AmplifyPlugins/Auth/Tests/AWSCognitoAuthPluginUnitTests/TaskTests/HostedUITests/AWSAuthHostedUISignInTests.swift
+15-6Lines changed: 15 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -258,15 +258,22 @@ class AWSAuthHostedUISignInTests: XCTestCase {
258
258
}
259
259
260
260
@MainActor
261
-
func testTokenErrorResponse()async{
261
+
/// Given: A HostedUI response with `error` and `error_description` query parameters.
262
+
/// When: Invoking `signInWithWebUI`
263
+
/// Then: The caller should receive an `AuthError.service` where the `errorDescription`
0 commit comments