azure-activedirectory-library-for-objc
azure-activedirectory-library-for-objc copied to clipboard
cancelCurrentWebAuthSession doesn't always cancel interactive auth
If it's a first call and authority alias discovery is in progress, cancelCurrentWebAuthSession won't cancel the flow.
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?