                 // GoogleOAuth2.sharedInstance.accessToken = model.authAccessToken
             }
         } else {
+            sendRequestToAddNeededScopes(for: user!)
             throw SignInError.permissionsError
         }
     }

            } catch SignInError.userIsUndefined {
                self.rxSignInResult.onNext(.failure(.systemMessage(401, "The user has not signed in before or he has since signed out")))
            } catch SignInError.permissionsError {
                // I'm not sure do we have to send the request, so I escluded it for now
                // self.sendRequestToAddNeededScopes(for: user)
                self.rxSignInResult.onNext(.failure(.message("Please add scopes to have ability to manage your YouTube videos. The app will not work properly")))
            } catch {
                fatalError("Unexpected exception")

    }
}

// MARK: - Google Sign In Handler

extension GoogleSignInInteractor {
