I have a URL coming in to the AppDelegate method:
func application(_ application: UIApplication, open url: URL, sourceApplication: String?, annotation: Any) ->
Use .first(where:)
guard let query = components.queryItems else { return } guard let accessToken = query.first(where: { $0.name == "access_token" }) else { return }