Skip to content

Upon successful login to Microsoft AD using iOS device, signInWithWebUI throws the UserCancelledException. (It works fine with iOS Simulator)  #4309

@IsuruCTS

Description

@IsuruCTS

Description

Upon successful login to Microsoft AD (using the Authenticator app for two factor authentication) using iOS device (iOS 16.7.2), signInWithWebUI throws the UserCancelledException with following error.

`[AXRuntimeCommon] AX Lookup problem - errorCode:1100 error:Permission denied portName:'com.apple.iphone.axserver' PID:9624 (
0 AXRuntime 0x00000001e616d960 _AXGetPortFromCache + 940
1 AXRuntime 0x00000001e616fe84 AXUIElementPerformFencedActionWithValue + 848
2 UIKit 0x00000002400301ec BAA2EF76-5F22-34FE-960D-04C473D0D29A + 737772
3 libdispatch.dylib 0x00000001c4b7c7a8 30AB7A30-04BC-3C9C-AE24-8DE17D9D2AF2 + 407464
4 libdispatch.dylib 0x00000001c4b7d780 30AB7A30-04BC-3C9C-AE24-8DE17D9D2AF2 + 411520
5 libdispatch.dylib 0x00000001c4b586fc 30AB7A30-04BC-3C9C-AE24-8DE17D9D2AF2 + 259836
6 libdispatch.dylib 0x00000001c4b591b0 30AB7A30-04BC-3C9C-AE24-8DE17D9D2AF2 + 262576
7 libdispatch.dylib 0x00000001c4b62f14 30AB7A30-04BC-3C9C-AE24-8DE17D9D2AF2 + 302868

8 libsystem_pthread.dylib 0x0000000207e29bd0 _pthread_wqthread + 284
9 libsystem_pthread.dylib 0x0000000207e29720 start_wqthread + 8
)
[AXRuntimeCommon] AX Lookup problem - errorCode:1100 error:Permission denied portName:'com.apple.iphone.axserver' PID:9624 (
0 AXRuntime 0x00000001e616d960 _AXGetPortFromCache + 940
1 AXRuntime 0x00000001e616fe84 AXUIElementPerformFencedActionWithValue + 848
2 UIKit 0x00000002400301ec BAA2EF76-5F22-34FE-960D-04C473D0D29A + 737772
3 libdispatch.dylib 0x00000001c4b7c7a8 30AB7A30-04BC-3C9C-AE24-8DE17D9D2AF2 + 407464
4 libdispatch.dylib 0x00000001c4b7d780 30AB7A30-04BC-3C9C-AE24-8DE17D9D2AF2 + 411520
5 libdispatch.dylib 0x00000001c4b586fc 30AB7A30-04BC-3C9C-AE24-8DE17D9D2AF2 + 259836
6 libdispatch.dylib 0x00000001c4b591b0 30AB7A30-04BC-3C9C-AE24-8DE17D9D2AF2 + 262576
7 libdispatch.dylib 0x00000001c4b62f14 30AB7A30-04BC-3C9C-AE24-8DE17D9D2AF2 + 302868
8 libsystem_pthread.dylib 0x0000000207e29bd0 _pthread_wqthread + 284
9 libsystem_pthread.dylib 0x0000000207e29720 start_wqthread + 8
)
[AXRuntimeCommon] AX Lookup problem - errorCode:1100 error:Permission denied portName:'com.apple.iphone.axserver' PID:9624 (
0 AXRuntime 0x00000001e616d960 _AXGetPortFromCache + 940
1 AXRuntime 0x00000001e616fe84 AXUIElementPerformFencedActionWithValue + 848
2 UIKit 0x00000002400301ec BAA2EF76-5F22-34FE-960D-04C473D0D29A + 737772
3 libdispatch.dylib 0x00000001c4b7c7a8 30AB7A30-04BC-3C9C-AE24-8DE17D9D2AF2 + 407464
4 libdispatch.dylib 0x00000001c4b7d780 30AB7A30-04BC-3C9C-AE24-8DE17D9D2AF2 + 411520
5 libdispatch.dylib 0x00000001c4b586fc 30AB7A30-04BC-3C9C-AE24-8DE17D9D2AF2 + 259836
6 libdispatch.dylib 0x00000001c4b591b0 30AB7A30-04BC-3C9C-AE24-8DE17D9D2AF2 + 262576
7 libdispatch.dylib 0x00000001c4b62f14 30AB7A30-04BC-3C9C-AE24-8DE17D9D2AF2 + 302868
8 libsystem_pthread.dylib 0x0000000207e29bd0 _pthread_wqthread + 284
9 libsystem_pthread.dylib 0x0000000207e29720 start_wqthread + 8
)`

However, I am able to log in successfully in the simulator.
I would appreciate any information regarding this issue.

Categories

  • Analytics
  • API (REST)
  • API (GraphQL)
  • Auth
  • Authenticator
  • DataStore
  • Notifications (Push)
  • Storage

Steps to Reproduce

  1. Configure Cognito to use Microsoft AD as a federated login service
  2. Select Microsoft AD as the SSO provider from the mobile app
  3. Log in to the Microsoft AD (using the Authenticator app for two factor authentication)
  4. After successfully login to the Microsoft AD app throws the UserCancelledException.

Screenshots

No response

Platforms

  • iOS
  • Android
  • Web
  • macOS
  • Windows
  • Linux

Flutter Version

3.16.3

Amplify Flutter Version

1.6.1

Deployment Method

Amplify CLI

Schema

No response

Metadata

Metadata

Assignees

Labels

authIssues related to the Auth CategoryiOSIssues specific to the iOS Platformpending-community-responsePending response from the issue opener or other community members

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions