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 :)
Post
Replies
Boosts
Views
Activity
Also tried this
In your xcode, Go to PODS folder :
Target Support Files => Pods-{Your Project} => Pods-{Your Project}-frameworks
Change
source="$(readlink "${source}")"
this :
source="$(readlink -f "${source}")"
but it didn't worked