From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thomas Fitzsimmons Newsgroups: gmane.emacs.bugs Subject: bug#50113: Excorporate: Communicating with domain that requires SSO? Date: Tue, 24 Aug 2021 10:07:34 -0400 Message-ID: References: <2d3d2184-37c3-46e8-8bda-6fe5c603672c@www.fastmail.com> <961bde13-0446-48f5-b3d9-d6098c767353@www.fastmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1455"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 50113@debbugs.gnu.org To: "Justin Abrahms" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 24 16:08:11 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mIX62-00008S-0a for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Aug 2021 16:08:10 +0200 Original-Received: from localhost ([::1]:53520 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mIX61-0004O1-0S for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Aug 2021 10:08:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mIX5u-0004L2-IM for bug-gnu-emacs@gnu.org; Tue, 24 Aug 2021 10:08:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33373) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mIX5u-0002hA-Ac for bug-gnu-emacs@gnu.org; Tue, 24 Aug 2021 10:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mIX5u-0002FC-1L for bug-gnu-emacs@gnu.org; Tue, 24 Aug 2021 10:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thomas Fitzsimmons Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Aug 2021 14:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50113 X-GNU-PR-Package: emacs Original-Received: via spool by 50113-submit@debbugs.gnu.org id=B50113.16298140658598 (code B ref 50113); Tue, 24 Aug 2021 14:08:01 +0000 Original-Received: (at 50113) by debbugs.gnu.org; 24 Aug 2021 14:07:45 +0000 Original-Received: from localhost ([127.0.0.1]:44919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mIX5d-0002Ec-6t for submit@debbugs.gnu.org; Tue, 24 Aug 2021 10:07:45 -0400 Original-Received: from mail-qk1-f177.google.com ([209.85.222.177]:44594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mIX5Z-0002EO-Vk for 50113@debbugs.gnu.org; Tue, 24 Aug 2021 10:07:43 -0400 Original-Received: by mail-qk1-f177.google.com with SMTP id c10so20686695qko.11 for <50113@debbugs.gnu.org>; Tue, 24 Aug 2021 07:07:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fitzsim-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=UoucKQEy9UR5k5ngCB0dozou9OWkdZ3EIPbwMM0CnSI=; b=BSeBFZwLHx5Sk+8nhfM6LDyfaabBqI9qR/8GVyEiRQfZmOzjblkbfEFilE6IH7Gt70 cnRj6Q5mo80t6DpAwufdKL8OhT/ctrxtolOWkBc7Uh28OCTQu2r7To5oHsWuZf8n1uzL R5YVeZE1FdYyGS1T05g6mzH4e3+OcGqi9Acr8cbGAot7/yOsFf/Z2O9MU99U+czNXByM 93DJzCRjL9YAa6wdzz90SeLbVEDxpmhKZcCKXp7rlmuFnwMEB4XXoENAqJu/aeife6Dz 8oGbIAyl3nYDB/g7Cbh/NzdGfCNvkn4dbfjrJxxeYrS13HCHCMiuXsxlkQaE1KHtNyVP 59Jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=UoucKQEy9UR5k5ngCB0dozou9OWkdZ3EIPbwMM0CnSI=; b=McdFKuG13A2Z5dxU2noHy3MeiBMVqMm+3NjVT/hdeI3P/bWxorfAQmRJgpxwGtqemF qhljpzw8XQY/Vzk/BYmdtDhOf3/sJu+cVKZZKvg0OIGAJMiiPAjZ1hnmojUhZJC3ndAe z93W+RZIB5gn7fvn34N1idL3C9przxYVe4Z4TMdFZFqBp7L2ICniSgxezq+oxIcHLJXn PWNeW3epL42EHVOuE8CDcW2t9G1FXPDYncmNK3Iez8NWgNtjk5i9JO83/1++1A/mOuP7 2b+pv2N2HA8jYb2yRHboXPyweTx+V/dYUsDjhMXgZor95QNCo9VGZBskNteRPjg6a/Kd J/Kw== X-Gm-Message-State: AOAM533N3luvv6QowK5kvKfW/2/js7bj3csFdJB3eEkdGsJl/LUVjzLR BJ3TAFs7aUkS1Sh6gVTudPTjWFKroEbr5g== X-Google-Smtp-Source: ABdhPJyaCSzzwq7ibQaOOHnfnF87FNTmNDNAH59uXQcF/ORHRjkBYNJfWU+aZOjjdwjrHfFV4qVShA== X-Received: by 2002:a37:b606:: with SMTP id g6mr5260945qkf.476.1629814056240; Tue, 24 Aug 2021 07:07:36 -0700 (PDT) Original-Received: from localhost.localdomain (69-165-165-189.dsl.teksavvy.com. [69.165.165.189]) by smtp.gmail.com with ESMTPSA id v7sm11065291qkd.41.2021.08.24.07.07.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 24 Aug 2021 07:07:35 -0700 (PDT) In-Reply-To: <961bde13-0446-48f5-b3d9-d6098c767353@www.fastmail.com> (Justin Abrahms's message of "Mon, 23 Aug 2021 17:30:53 -0700") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:212542 Archived-At: OK, thanks for trying. Maybe Excorporate could use oauth2.el to authenticate via OAuth2, but I've never tried that. As a starting point, are you able to make DavMail retrieve your calendar items? If yes, check if it uses, or can be configured to use, EWS rather than WebDAV. If you can make DavMail + EWS work somehow, then there's hope for Excorporate in your environment, with some oauth2.el integration effort. Thomas "Justin Abrahms" writes: > I'm not able to get to the 'you created a service' page. > > If I go to: > > https://outlook.office365.com/EWS/Exchange.asmx > > I'm prompted for a username + password. These are not my actual username + password, as those don't work. I believe if I was able to set up > an application-specific password.. I'd be able to use that as the password. Unfortunately, those are disallowed per my administrator. When I > abandon the attempted sign-in, I get the butter-y yellow page that I'd expect for an EWS site. > > -justin > > On Mon, Aug 23, 2021, at 2:11 PM, Thomas Fitzsimmons wrote: > > Hi Justin, > > "Justin Abrahms" writes: > > > I'm trying to setup excorporate for my new job. In looking at the > > outlook client that came pre-installed on my PC, I see that our EWS > > url uses outlook365. This is the error I see in my *Messages* buffer: > > > > Contacting host: outlook.office365.com:443 > > error in process filter: exco--parse-xml-in-current-buffer: Server response is not an XML document > > error in process filter: Server response is not an XML document > > > > When looking at *URL-DEBUG*, I see that it's being redirected to my > > company's SSO endpoint. In looking around the docs & internet, I'm not > > seeing how others deal with needing to do SSO, so I'm reaching out > > here in hopes someone has ideas. > > Thanks for filing this issue. > > I haven't had to figure out single-sign-on authentication for > Excorporate yet, but it's good to have a bug report about it so that we > can work on solutions, assuming they exist. > > The first thing you can try is to access the EWS URL in Firefox. Does > browsing to it result in you being transferred to the single-sign-on > page? And if you authenticate, do you then see a page that says > something like: > > "Service > > You have created a service. > > [...]"? > > Thomas