Ran into this issue too, fix was to statically send the same view controller for this all to AppAuth-iOS
let userAgent = OIDExternalUserAgentIOS(presenting: viewController)
hope this helps, specifically check the call up from here. Hope this helps someone out.