Post

Replies

Boosts

Views

Activity

Reply to App Auth: error Attempting to load the view of a view controller while it is deallocating is not allowed and may result in undefined behavior
After months struggling with this issue, I finally worked it out, thanks to this https://curity.io/resources/learn/swift-ios-appauth/#get-the-code (thanks for that great example) which shows how to get OIDErrorCode.userCanceledAuthorizationFlow when user clicks on "cancel" I also subscribed to a notification in my controller : UIApplication.didBecomeActiveNotification and call my login function from the callback, when i'm sure the app is loaded as it should Hope it can help :)
Oct ’22