iOS: The CNA does not close after successful login

The direct link is not open in Safari or the direct link is opened in Safari, but the CNA does not close itself now.

Solution: Upgrade to the latest iOS version. The issue is solved in iOS 11.2

Link to the Apple forum: https://forums.developer.apple.com/thread/75498