code: def handle_login_failure(self, provider, reason):
          
          logger.error('Authenication Failure: {0}'.format(reason))
          messages.error(self.request, 'Authenication Failed. Please try again')
          return redirect(self.get_error_redirect(provider, reason))
docs: Message user and redirect on error.