Ios App Delegate Open Url
The authorization response url is returned to the app via the ios openurl app delegate method so you need to pipe this through to the current authorization session created in the previous session.
Ios app delegate open url. Specifically it responds to both temporary interruptions and to changes in the execution state of your app such as when your app transitions from the foreground to the background. Appdelegate contains your app s startup code. It s the most common crash in ios 2 6 based on the stacktrace it seems to be related with google login.
Steps to reproduce in appdelegate cs override all 3 of the openurl methods as well as the continueuseractivity method. It responds to key changes in the state of your app. When msal for ios and macos calls the broker the broker calls back to your application by using the openurl method.
Specifically you use methods of the app delegate to update the state of your app when it enters the foreground or moves to the background. Run the app mi. In ios 12 and earlier you use your app delegate to manage major life cycle events in your app.
Set up this capability by updating the appdelegate m file to override the method as the following code examples show. Write some code in each of the overridden methods e g. Because msal waits for the response from the broker your application needs to cooperate to call back msal.
Impact so far it happened 7 times to 3 users with these numbers it s not worth to do a hotfix but would be awesome some fix it for future releases.