azure-activedirectory-library-for-objc icon indicating copy to clipboard operation
azure-activedirectory-library-for-objc copied to clipboard

cancelCurrentWebAuthSession doesn't always cancel interactive auth

Open oldalton opened this issue 6 years ago • 1 comments

If it's a first call and authority alias discovery is in progress, cancelCurrentWebAuthSession won't cancel the flow.

oldalton avatar Mar 08 '18 23:03 oldalton

Running into this issue when testing poor network conditions with the OneAuth Test App: Repro steps (macOS):

  • Configure network setting with Apple's Network Link Conditioner (Very Bad Network Pre-set: Bandwidth: 1 mbps, Packets Dropped: 10%, Delay: 500 ms) -Sign-in to AAD account with account hint ([email protected])
  • Logging displays the message: Waiting on Authority Validation Queue
  • Cancel the request (close the OneAuth app)
  • Re-enable the network by turning off the Network Link Conditioner

Expected: No windows opened since the app is closed Result: A window appears prompting for password

Would you be able to advise on this issue please?

Robert-Brais avatar Feb 15 '19 20:02 Robert-Brais