By control flow here, I mean the “control flow” between applications, rather that in code per se.
I have a couple of Auth0 implementations, and the sample code from https://github.com/auth0-samples/auth0-ios-swift-sample/tree/master/Sample-01, and I’m seeing the same behaviour across all of them.
My expectation:
-
I hit login from my app, and the Safari login window appears, and Safari becomes the front most active application.
-
I complete login somehow - e.g. by logging in, or cancelling, or closing the Safari window.
-
My application gets callbacks, and becomes the active frontmost application
What I see in my implementations:
At step 3, Safari remains active, and I need to Control-Tab via the application switcher (or some other mechanism) to make my app active.
My implementations seem to be working fine apart from this - my logins look good, and everything functions as expected.
Before I start digging any deeper, I’d like to confirm that once login is done (or at the very least once it succeeds), my application should become active and frontmost.
I am on MacOS 12.6.6 (21G646).