From unknown Tue Aug 19 09:59:54 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#50113 <50113@debbugs.gnu.org> To: bug#50113 <50113@debbugs.gnu.org> Subject: Status: Excorporate: Communicating with domain that requires SSO? Reply-To: bug#50113 <50113@debbugs.gnu.org> Date: Tue, 19 Aug 2025 16:59:54 +0000 retitle 50113 Excorporate: Communicating with domain that requires SSO? reassign 50113 emacs submitter 50113 "Justin Abrahms" severity 50113 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 18 14:59:08 2021 Received: (at submit) by debbugs.gnu.org; 18 Aug 2021 18:59:08 +0000 Received: from localhost ([127.0.0.1]:57655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGQmI-0007ke-VZ for submit@debbugs.gnu.org; Wed, 18 Aug 2021 14:59:07 -0400 Received: from lists.gnu.org ([209.51.188.17]:37396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGQj0-0007fV-0c for submit@debbugs.gnu.org; Wed, 18 Aug 2021 14:55:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53380) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGQix-0006V2-T2 for bug-gnu-emacs@gnu.org; Wed, 18 Aug 2021 14:55:41 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:46313) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGQiv-0000Dy-9y for bug-gnu-emacs@gnu.org; Wed, 18 Aug 2021 14:55:39 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 103073200950 for ; Wed, 18 Aug 2021 14:55:33 -0400 (EDT) Received: from imap44 ([10.202.2.94]) by compute6.internal (MEProxy); Wed, 18 Aug 2021 14:55:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=abrah.ms; h= mime-version:message-id:date:from:to:subject:content-type; s= fm2; bh=sZDLQ0J688rRl0oXz0k/dNLcws/afaOOkGIo7UgkgFM=; b=QN3mNSkJ PuzN0F/p/G3GZueg+xDzTlkmpCAaMO9vzWptllVTkkDuv5CuT2MCxc2t5kQ8Tqf1 BFMsbeTlveomBy3xM1/Bwh5F5VgYd3EiGxgYWG4YPCTzSb7QrOv0K3T3wFfdwJzF yfI61kh5BjpVmys1jEVADFn32PZhEFjRecC3nuGUdJgDphuvEN4qBQ4SW7K4kJzi Pki/Ngj1bE7EmyJkrOlLid6tQufJFZyfGPsheYs9LKGWJL5kjIKpvW1tsqPNgdMT 7F3nfcyqc+Sz3N/dgFkhACsrVS2VlrTjn2kmFGeNJAG9ROFGzT9vsfUNjkPcFoVH 1hBE256+EvpW6A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=sZDLQ0J688rRl0oXz0k/dNLcws/af aOOkGIo7UgkgFM=; b=Hl+u5qzBw3mdb8Zler0HisGAUQs4h9PvLeg6N2YQpTosm tD/LbfzaLLUgDaclZK1k6YjaPUpamUZggBVJwYm6B5+AKfqu34mGB1oq34+TcYxU 6+5fcYDZMMh+vINU0vf/gYgX9Ro9N2C1h6xXMAn8ayw3wvIVj9nTdOtHFDUbZDp5 Rg+ZoOE16CAo+e/lHU3cKU2Rhg7119QK2xBNbonw8qqbLjtIojxmhwnmGJPYEg/4 pC4FiFDmPSw9E2vW/MiiDot0wwzX2A01diPPVNUCwV54ZqZUlY1D/i4Jg4dSIOZ5 cVhcYG7F/Qhh/XQIhZKV4/tediCutViVRx2ZYfp4Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrleehgddufedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsegrtderre erredtnecuhfhrohhmpedflfhushhtihhnucetsghrrghhmhhsfdcuoehjuhhsthhinhes rggsrhgrhhdrmhhsqeenucggtffrrghtthgvrhhnpeffudegieefkedtudeiueevhfeige euieevheeuffeuvdduieeglefhheduieekueenucffohhmrghinhepohhffhhitggvfeei hedrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehjuhhsthhinhesrggsrhgrhhdrmhhs X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 62E83FA0AA4; Wed, 18 Aug 2021 14:55:33 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-1118-g75eff666e5-fm-20210816.002-g75eff666 Mime-Version: 1.0 Message-Id: <2d3d2184-37c3-46e8-8bda-6fe5c603672c@www.fastmail.com> Date: Wed, 18 Aug 2021 11:55:12 -0700 From: "Justin Abrahms" To: bug-gnu-emacs@gnu.org Subject: Excorporate: Communicating with domain that requires SSO? Content-Type: multipart/alternative; boundary=f5bd518b025141ba9c2356c1fd8660f1 Received-SPF: pass client-ip=64.147.123.24; envelope-from=justin@abrah.ms; helo=wout1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 18 Aug 2021 14:59:05 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --f5bd518b025141ba9c2356c1fd8660f1 Content-Type: text/plain Hi. 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, -justin --f5bd518b025141ba9c2356c1fd8660f1 Content-Type: text/html
Hi.

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,
 -justin
--f5bd518b025141ba9c2356c1fd8660f1-- From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 23 17:12:05 2021 Received: (at 50113) by debbugs.gnu.org; 23 Aug 2021 21:12:05 +0000 Received: from localhost ([127.0.0.1]:42709 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mIHEf-0000uT-AT for submit@debbugs.gnu.org; Mon, 23 Aug 2021 17:12:05 -0400 Received: from mail-qv1-f45.google.com ([209.85.219.45]:40806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mIHEa-0000uC-S1 for 50113@debbugs.gnu.org; Mon, 23 Aug 2021 17:11:59 -0400 Received: by mail-qv1-f45.google.com with SMTP id v1so10523640qva.7 for <50113@debbugs.gnu.org>; Mon, 23 Aug 2021 14:11:56 -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=u3wpzYO4n6XygqXZs2qAST6zFB3jK6aDPT+qkOZcRqI=; b=l9khR4TuxsdmFH0IsMcXrtnGkac7gmXIy9tiFRk+8bG4KVqipQIQ4KN7wSbnL5J2pd nDgDm3vrUi1FjHAQetbelQI2Ej5P7QJUL+7kZB3GdBfhd63tlXNtn9QT+fw6eq+OLHao Sc3Bv5tkOaJWyT8XEoK6iS5sKLhl2lvC2wDZD8jMC4O8nGUg9cGg7D7TZoXwS/thpDLV Hxnow8d5+M3oGXiF2g42sOLPmtZFhjB7brspz1yhWFM1iy+h6adw9Wf41sYDfWDcCx3P sVPOqrh5p84wUq4sCn1DeEAJYlaB2iV1RBi22tmFV5bvkAw7p9GfETCVFoaz2O9KfnAR +A2w== 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=u3wpzYO4n6XygqXZs2qAST6zFB3jK6aDPT+qkOZcRqI=; b=uEjw5pdodeOIyz4jskINdxPwMF4G3I/w+52BmMoFgq7lsk9GGZqVgsBFkhmVKQUyFe Bb8PmiWqE0CgB/Ou+hTR7X6PVZGIDSjLWpvJu7wGYFWGOQb7WgFiriX6qXInu6SKgknY 7aL8SrNkuX/0/vmTA21RXM6jruG8V+HAPlUpJxdxdcRa/kH4DdeRDcMSKzkVr24T6kp2 vMmzp7OqH66/PbFzrcPTXulgux5x78c6LZCrvhPYlmksFihCPppS+EdCHmKC/4LeTN3j TBjt//gAVWWOgj83gYKfPfbWVhRu///uowRRCaYHS7dMMLx5/LrCFZv6fryjnfupbTrF MJpQ== X-Gm-Message-State: AOAM533Jxtp8oW4zVoLelUhImIGdtq4ZLukMpx+BdsYmLtETHruoov3g Hn/R/HeicoOHtRvniJe5uNb9URhCqRlVBg== X-Google-Smtp-Source: ABdhPJzNkdRJoh6kP0CV7K27EVA43BIRfz94rH1aoOrntlXGWV5qg5uRXVTo6Yp9WNR86jNWRSX3TQ== X-Received: by 2002:a05:6214:b69:: with SMTP id ey9mr22501498qvb.16.1629753111105; Mon, 23 Aug 2021 14:11:51 -0700 (PDT) Received: from localhost.localdomain (69-165-165-189.dsl.teksavvy.com. [69.165.165.189]) by smtp.gmail.com with ESMTPSA id h17sm1897151qtu.68.2021.08.23.14.11.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 23 Aug 2021 14:11:50 -0700 (PDT) From: Thomas Fitzsimmons To: "Justin Abrahms" Subject: Re: bug#50113: Excorporate: Communicating with domain that requires SSO? References: <2d3d2184-37c3-46e8-8bda-6fe5c603672c@www.fastmail.com> Date: Mon, 23 Aug 2021 17:11:49 -0400 In-Reply-To: <2d3d2184-37c3-46e8-8bda-6fe5c603672c@www.fastmail.com> (Justin Abrahms's message of "Wed, 18 Aug 2021 11:55:12 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 50113 Cc: 50113@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 23 20:54:12 2021 Received: (at 50113) by debbugs.gnu.org; 24 Aug 2021 00:54:12 +0000 Received: from localhost ([127.0.0.1]:42797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mIKhf-0006Gb-Ip for submit@debbugs.gnu.org; Mon, 23 Aug 2021 20:54:12 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:53013) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mIKLb-0005iu-KC for 50113@debbugs.gnu.org; Mon, 23 Aug 2021 20:31:28 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id E924F5C013E; Mon, 23 Aug 2021 20:31:16 -0400 (EDT) Received: from imap44 ([10.202.2.94]) by compute6.internal (MEProxy); Mon, 23 Aug 2021 20:31:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=abrah.ms; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm2; bh=uDEGe2KAvPWG8UGIGFr4tVM2fcq+ZbB +S/HSjr2W9dU=; b=Y0jS+rAQZp/Gig/TyKs32R1Gtz4/W+PKQdAHoZR8vfRDKYf qFkc/SuSz1EkTyoBfiSXWhqsM9iwetKI97eQt+GfDIxWh0TpMFbruJoSsaGOrqPK iMsgGaMmUn+cld3PJr5SE/DCQrGTZMgiqD8+MZqUBshtnfeY1ZxvURl77JjSXUbE 5riKxIez+wLKaDw35hlCdFxUhwE2m0JJCvhmyYOh4a71p/Nqga1CgBxaFmV3usNj gWBEeCYsLSNVn8mdht8LeyT0r3krnE/LLrjxJSCTjxMz8sbqjOGMetcorWiEC919 WY81vNuA52Pnc8RBoej+rAZrxKo5MDaN3hZFu3Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=uDEGe2 KAvPWG8UGIGFr4tVM2fcq+ZbB+S/HSjr2W9dU=; b=AwRyN3gOgDs0u6RrlVVOXE CbCMwb+jt4hNizihLJx9klTJ4WVKxWEseXoJbrFzU0IHbK4hwN+pfGkJinDD1S4X e4LZ9Qj4vjId3fAUTxyV1kLH8+UYf6byblJZwtI+QQ85Tp/2BeTGW9HzY+SyQ7hR WngNuRM+RRxqLa8zFHoYzPmMsSHZ1jx0NO/4o957nd02iXRUadhIgBcxMacVR69K X4jh8n6C3NSZWzupYOTMR45kdFR5J7WiGeuh5nuHFoTkCJDv7P4dfyAFenFILCq/ JKEqktgE6w7++wV/KQY5/ap7KQcBbhyFnlogqD1lkoqhTKnLd0fWE8uNGmj8jR7A == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddruddtiedgfeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesrgdtreerreerjeenucfhrhhomhepfdfluhhs thhinhcutegsrhgrhhhmshdfuceojhhushhtihhnsegrsghrrghhrdhmsheqnecuggftrf grthhtvghrnhepfefhtdevuefffeegheduhfegvdekkeefueeiheeukefhffehtdelveeg ffehgffhnecuffhomhgrihhnpehofhhfihgtvgefieehrdgtohhmnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhushhtihhnsegrsghrrghh rdhmsh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id EEF90FA0AA4; Mon, 23 Aug 2021 20:31:15 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-1118-g75eff666e5-fm-20210816.002-g75eff666 Mime-Version: 1.0 Message-Id: <961bde13-0446-48f5-b3d9-d6098c767353@www.fastmail.com> In-Reply-To: References: <2d3d2184-37c3-46e8-8bda-6fe5c603672c@www.fastmail.com> Date: Mon, 23 Aug 2021 17:30:53 -0700 From: "Justin Abrahms" To: "Thomas Fitzsimmons" Subject: =?UTF-8?Q?Re:_bug#50113:_Excorporate:_Communicating_with_domain_that_req?= =?UTF-8?Q?uires_SSO=3F?= Content-Type: multipart/alternative; boundary=3536c1cbb1fb45f1a811ad6d54cd1005 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 50113 X-Mailman-Approved-At: Mon, 23 Aug 2021 20:54:10 -0400 Cc: 50113@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --3536c1cbb1fb45f1a811ad6d54cd1005 Content-Type: text/plain 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 > --3536c1cbb1fb45f1a811ad6d54cd1005 Content-Type: text/html Content-Transfer-Encoding: quoted-printable
I'm not able to= get to the 'you created a service' page.

I= f I go to:

https://outlook.office365.com/EW= S/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 passwor= d.. I'd be able to use that as the password. Unfortunately, those are di= sallowed per my administrator. When I abandon the attempted sign-in, I g= et 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" <justin@abr= ah.ms> writes:

> I'm trying to se= tup excorporate for my new job. In looking at the
> out= look 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--par= se-xml-in-current-buffer: Server response is not an XML document
> error in process filter: Server response is not an XML docum= ent
>
> When looking at *URL-DEBUG*, I= see that it's being redirected to my
> company's SSO e= ndpoint. In looking around the docs & internet, I'm not
> seeing how others deal with needing to do SSO, so I'm reaching ou= t
> 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 w= e
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 tr= ansferred to the single-sign-on
page?  And if you aut= henticate, do you then see a page that says
something like= :

"Service

You= have created a service.

[...]"?
<= div>
Thomas


=
--3536c1cbb1fb45f1a811ad6d54cd1005-- From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 24 10:07:45 2021 Received: (at 50113) by debbugs.gnu.org; 24 Aug 2021 14:07:45 +0000 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 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 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) 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) From: Thomas Fitzsimmons To: "Justin Abrahms" Subject: Re: bug#50113: Excorporate: Communicating with domain that requires SSO? References: <2d3d2184-37c3-46e8-8bda-6fe5c603672c@www.fastmail.com> <961bde13-0446-48f5-b3d9-d6098c767353@www.fastmail.com> Date: Tue, 24 Aug 2021 10:07:34 -0400 In-Reply-To: <961bde13-0446-48f5-b3d9-d6098c767353@www.fastmail.com> (Justin Abrahms's message of "Mon, 23 Aug 2021 17:30:53 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 50113 Cc: 50113@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 22 09:30:48 2022 Received: (at 50113) by debbugs.gnu.org; 22 Aug 2022 13:30:48 +0000 Received: from localhost ([127.0.0.1]:38335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ7Vw-0008MP-AK for submit@debbugs.gnu.org; Mon, 22 Aug 2022 09:30:48 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ7Vu-0008M9-Ly for 50113@debbugs.gnu.org; Mon, 22 Aug 2022 09:30:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=FkbcMPxgXUd13kjDK7e+TFs0T59BZHYd4Qksh7Ee0uY=; b=PGgr59uASqHtfDjy2DsH5oLiUs 8er1QqQtBEoUGgKPOwRbt2ymj5IkZqcNy8exr8rjgjGKloWl23LU53R6OhdEKujnpkziXxJ3Trhtj sWuimvgx+HjbWCXqnwTK9V76ToCl+bBvDqU/m/TUFYs6VvAvaagRd2fRQUsWZW810rAM=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oQ7Vj-0005rc-Cn; Mon, 22 Aug 2022 15:30:37 +0200 From: Lars Ingebrigtsen To: Thomas Fitzsimmons Subject: Re: bug#50113: Excorporate: Communicating with domain that requires SSO? In-Reply-To: (Thomas Fitzsimmons's message of "Tue, 24 Aug 2021 10:07:34 -0400") References: <2d3d2184-37c3-46e8-8bda-6fe5c603672c@www.fastmail.com> <961bde13-0446-48f5-b3d9-d6098c767353@www.fastmail.com> X-Now-Playing: The Amorphous Androgynous & Peter Hammill's _The Amorphous Androgynous & Peter Hammill_: "Immortality Break" Date: Mon, 22 Aug 2022 15:30:34 +0200 Message-ID: <87h7245rt1.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Thomas Fitzsimmons writes: > 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 [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50113 Cc: Justin Abrahms , 50113@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Thomas Fitzsimmons writes: > 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. (I'm going through old bug reports that unfortunately weren't resolved at the time.) This was a year ago. Skimming this bug report, it's not clear to me whether there's anything to be done on the Emacs side here? From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 22 09:30:53 2022 Received: (at control) by debbugs.gnu.org; 22 Aug 2022 13:30:53 +0000 Received: from localhost ([127.0.0.1]:38338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ7W1-0008Mh-JR for submit@debbugs.gnu.org; Mon, 22 Aug 2022 09:30:53 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ7Vw-0008MC-UR for control@debbugs.gnu.org; Mon, 22 Aug 2022 09:30:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=2ayBIZQb3y3TpT5+uA/r+5pvCe8fIBAp8V2w7akVfLI=; b=P6NCJQcwArMtiWAd1rHK+Ki9Mc Mkaty1CA7/2d4Gqa6Txf8bMTaC6lwh++qoCOfUWFFXeAjp6Gq2IuugZdP9aj0Ick5WQcB0XSeqzRP twfId4oIzaWAUZ6xJB3DWpXWA8B3wbJrch/tL3YqSawGrFSbtGvL/SWZ++g8iyQiyrYU=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oQ7Vp-0005rh-1y for control@debbugs.gnu.org; Mon, 22 Aug 2022 15:30:43 +0200 Date: Mon, 22 Aug 2022 15:30:40 +0200 Message-Id: <87fsho5rsv.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #50113 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 50113 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 50113 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 22 11:28:09 2022 Received: (at 50113) by debbugs.gnu.org; 22 Aug 2022 15:28:09 +0000 Received: from localhost ([127.0.0.1]:41492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ9LU-00063R-QA for submit@debbugs.gnu.org; Mon, 22 Aug 2022 11:28:09 -0400 Received: from mail-il1-f182.google.com ([209.85.166.182]:33539) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ9LT-000638-CH for 50113@debbugs.gnu.org; Mon, 22 Aug 2022 11:28:07 -0400 Received: by mail-il1-f182.google.com with SMTP id z8so5866228ile.0 for <50113@debbugs.gnu.org>; Mon, 22 Aug 2022 08:28:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fitzsim-org.20210112.gappssmtp.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc; bh=H1P1z48F0Lf+ld0AwSxw3BPzfQktCmYKd3WTofLZmkI=; b=Ce1n9Mt/pnaFXgtnbRvMksIl583sZRXZq8mmIFLs52AFcJzc/WxOHsrWI/IBy90+So JUz6b/HVjvTcJAoVvT5gGPXvtqWotakgP28/dsab5c3xYwPTjpPzRL1QCaIRkH1KVbGG mX7tVVhxNHwIFGBT1O3lYuoDUIb5dYk3Z3cQVBgC3qvQUHZMijgdTmvr3KH0CK33ZU75 pzHyaVfwm7sFI+XHbboQGoCEErZgmt9iAiwJXlY2fAwN1nRVwwlYIWWHcU9563Asypyv IIVP2UN2i75T7i9P1U+k0rJv+4/rKr10+CcSimasEV8hbnMUcUSl0N8r/RVRyjrBNyIn Xm8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc; bh=H1P1z48F0Lf+ld0AwSxw3BPzfQktCmYKd3WTofLZmkI=; b=PZVpt6LaVt3k7eKUypmnRPXCV+ZvL4xC1s4r0b9xw4FBjdLqZyMmaE7qF6iwZ21+uw Y4J2Ven81bgCwRP2goe5cDeVrHWldEtX4qvZrvA/Fbu+CFi8L/zwt9S15swugydW6+Q3 kqBHtSIfJHDBF3nMkt/zc4sGc6WN28EC17NNdLZI49A0RvXqGqnGh6Ay9lezECiaZH8E eMD4BKMUcINpM1LCC7hWToYCmhFgDuMmxhj8YOeI4W5yZCkh0bKFawNqEtISpSCovbAm wwlrLWWsWM2schVvRNIi56MWOZ6g12JExcJllq7x/GCx/YwLAwtrpzN4IcKmajmI1qmJ EeMA== X-Gm-Message-State: ACgBeo2aNBSXVCgVTrBF3UWD/vBciHVyYHCF6GOegaQ3Hg8VM1FsU7s8 pUa+q17GNUviBABorbyj9b2EKXCmlvo3KQ== X-Google-Smtp-Source: AA6agR7KE1MRH3IDX4h5zKxZp8Z+1ldXV1y1vAwbem+J/GavTU+Hmp1odoCyGQju9c81Y/yM1wExxQ== X-Received: by 2002:a05:6e02:19ce:b0:2e9:3a9a:b981 with SMTP id r14-20020a056e0219ce00b002e93a9ab981mr7352103ill.244.1661182081373; Mon, 22 Aug 2022 08:28:01 -0700 (PDT) Received: from localhost.localdomain (69-165-165-189.dsl.teksavvy.com. [69.165.165.189]) by smtp.gmail.com with ESMTPSA id x6-20020a92b006000000b002e9c99b352dsm999309ilh.61.2022.08.22.08.28.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Aug 2022 08:28:00 -0700 (PDT) From: Thomas Fitzsimmons To: Lars Ingebrigtsen Subject: Re: bug#50113: Excorporate: Communicating with domain that requires SSO? References: <2d3d2184-37c3-46e8-8bda-6fe5c603672c@www.fastmail.com> <961bde13-0446-48f5-b3d9-d6098c767353@www.fastmail.com> <87h7245rt1.fsf@gnus.org> Date: Mon, 22 Aug 2022 11:27:59 -0400 In-Reply-To: <87h7245rt1.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 22 Aug 2022 15:30:34 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50113 Cc: Justin Abrahms , 50113@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Lars, Lars Ingebrigtsen writes: > Thomas Fitzsimmons writes: > >> 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. > > (I'm going through old bug reports that unfortunately weren't resolved > at the time.) > > This was a year ago. Skimming this bug report, it's not clear to me > whether there's anything to be done on the Emacs side here? Thank you for following up on this report (amazing progress on nx10%!). I do see a way forward for implementing this, at least the parts that Emacs can control, so let's leave this open. Thanks, Thomas From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 22 11:32:30 2022 Received: (at 50113) by debbugs.gnu.org; 22 Aug 2022 15:32:30 +0000 Received: from localhost ([127.0.0.1]:41496 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ9Pi-0006BE-Ed for submit@debbugs.gnu.org; Mon, 22 Aug 2022 11:32:30 -0400 Received: from quimby.gnus.org ([95.216.78.240]:55966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ9Pf-0006Az-OX for 50113@debbugs.gnu.org; Mon, 22 Aug 2022 11:32:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=gnzXrWXN/KOCyN5KBpLbkQ/jb9ju1fXsTWDIYlRuELU=; b=HiVYvrTq0lG4nGhUJaOFsVPa/m Lw01UY4B44IGVmIvwhNaXf+Kd/I71ED6QxgVXqq3kjQ3ZHjfNcfZHNBzpq5LDPyOeBME2bJL+eI88 yKC8kDBzzOK6b7vT/mw8BXlVi/p4iZAifSWQafEDkl9MJIs3i07KJBePG93i39mOQ/dg=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oQ9PT-0006uZ-2G; Mon, 22 Aug 2022 17:32:17 +0200 From: Lars Ingebrigtsen To: Thomas Fitzsimmons Subject: Re: bug#50113: Excorporate: Communicating with domain that requires SSO? In-Reply-To: (Thomas Fitzsimmons's message of "Mon, 22 Aug 2022 11:27:59 -0400") References: <2d3d2184-37c3-46e8-8bda-6fe5c603672c@www.fastmail.com> <961bde13-0446-48f5-b3d9-d6098c767353@www.fastmail.com> <87h7245rt1.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEW3rZ7w4tGJgHVH Qjz///9n/l1QAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YIFg8gB0l354EAAAG/SURBVDjLfZSNseMg DIQFbgCcBkBqwJH67+12BXZyc+8dk8kk/qK/XREp/ecjRZrq6ONUnphHaLgowKiBT/6KPO+D7xoF QBKcD1BfQMcDLIHsiHCAmkAJ/AZVLVy/ImwDreMYXQCuv4vjgY3Rz8y0gWeEoUiUf4FYbGAJdH2X krUSrDn8BqwRMU8msJ1qR2DCOs5vSRJ4QCy9HsCxwlhcOl4/yP6rHyuFw5Vst4nUyiwbBEBswLOA HwT2AW0DDvIBrXRpPSe/Kmr4E9F7MKLaquFrjlZdJEFZ6rQ9YDtMRAnGa7CfnNzt3SwusQtAX4al grUIHPXdVpM06jTv1Rv9AHgt79NzgHM0RsgCcYOrN8juTvCRXRuBplHVbjAxRwLUwE5LnWu5tfxH doy45MxTTi37sTlD4cfsXFGkit6PXLhM2nTMmiKipQ7Pp8UC2Gz8ZDbQuQEaVdwt5d4ngFgbIKhJ pbkXU12FgIO5Ofv3G8gClDtF3MBHsblrwNpUG6B64L4mQOlYfoRPpooFPFetZQmHVoz7Btxl7+ue rAgd7JMPhiTgHwAAZmA76EorU7GWEyhWeGnF7SzP7o5f/PgDNaOO1B3k0TkAAAAldEVYdGRhdGU6 Y3JlYXRlADIwMjItMDgtMjJUMTU6MzI6MDcrMDA6MDCgYd2EAAAAJXRFWHRkYXRlOm1vZGlmeQAy MDIyLTA4LTIyVDE1OjMyOjA3KzAwOjAw0TxlOAAAAABJRU5ErkJggg== X-Now-Playing: Yazmin Lacey's _Blue Note Re:imagined (2)_: "I'll Never Stop Loving You" Date: Mon, 22 Aug 2022 17:32:14 +0200 Message-ID: <87y1vg2t1d.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Thomas Fitzsimmons writes: > I do see a way forward for implementing this, at least the parts that > Emacs can control, so let's leave this open. Great! Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50113 Cc: Justin Abrahms , 50113@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Thomas Fitzsimmons writes: > I do see a way forward for implementing this, at least the parts that > Emacs can control, so let's leave this open. Great! From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 19 15:18:51 2022 Received: (at control) by debbugs.gnu.org; 19 Sep 2022 19:18:51 +0000 Received: from localhost ([127.0.0.1]:55257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oaMI7-0008Re-20 for submit@debbugs.gnu.org; Mon, 19 Sep 2022 15:18:51 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oaMI5-0008RB-27 for control@debbugs.gnu.org; Mon, 19 Sep 2022 15:18:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=jdBWLZOipoSrRm9fYL7DQzV7sdHm7wyGqJCI/0VMhI4=; b=PCkkTSubhtg2TmmRZEglbO37MP 0EKfeeQKPDUC3IYGlirPcTelO6jconS97SDhaDVu/XoYb8pk9iY6mjscsHa8inN2U44nKYpyezDnj 2dOnPtWgbQsUrgfCWALzDgpdU12CT0yrK3i4698DsnUOu2/5SykQozG6FCbG6wPUQ0Uc=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oaMHx-0003HM-5B for control@debbugs.gnu.org; Mon, 19 Sep 2022 21:18:43 +0200 Date: Mon, 19 Sep 2022 21:18:40 +0200 Message-Id: <87illjqijz.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #50113 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 50113 - moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 50113 - moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 13 12:31:02 2023 Received: (at 50113) by debbugs.gnu.org; 13 Mar 2023 16:31:02 +0000 Received: from localhost ([127.0.0.1]:35513 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbl4g-0004Tg-AT for submit@debbugs.gnu.org; Mon, 13 Mar 2023 12:31:02 -0400 Received: from mail.fitzsim.org ([69.165.165.189]:57100) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbl4e-0004TB-Cc for 50113@debbugs.gnu.org; Mon, 13 Mar 2023 12:31:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=fitzsim.org ; s=20220430; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=pQygYHsig29jnygTscJ1sw9q0XLOIdqovx04o47MW4o=; b=EIvtE+/sW8K/yID5jgVvUi/I/Q l7ODOVa4wOZmuAmHirEz3ZYMf5pNh2DK3yMhdFi1apE1twYtJj7XutvCSFfufdY1gKGve96jc0KJE E69ONex153C/xtQ6VgcM39B3smvHyqkn5/lVV8Dc464F17o29kV6qMFcO2ktIjrMO0tg75fvhIhdn qkenQtbGwK6miNMeNExf99eo5Px6jVuTweQNc6A5rLZkWYTB+8VUjnQrq8GRs+Oh1IR50bZhz6PGB SqsNPp+tmnhSgV7T8dFQ4DXiuMlN8971/t03jiuMF98OgQr8oAxSDKgCGh0sqZZycVJUMQ/nvJeeE ObtFbqDQ==; Received: from [192.168.1.1] (helo=localhost.localdomain) by mail.fitzsim.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1pbl4W-000JQs-TO; Mon, 13 Mar 2023 12:30:53 -0400 From: Thomas Fitzsimmons To: ParetoOptimal Subject: Re: bug#50113: Excorporate: Communicating with domain that requires SSO? In-Reply-To: <87a60gps0m.fsf@mailfence.com> (ParetoOptimal's message of "Mon, 13 Mar 2023 10:53:13 -0500") References: <2d3d2184-37c3-46e8-8bda-6fe5c603672c@www.fastmail.com> <961bde13-0446-48f5-b3d9-d6098c767353@www.fastmail.com> <87h7245rt1.fsf@gnus.org> <87a60gps0m.fsf@mailfence.com> Date: Mon, 13 Mar 2023 12:30:51 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 50113 Cc: Lars Ingebrigtsen , 50113@debbugs.gnu.org, Justin Abrahms X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, ParetoOptimal writes: >> As a starting point, are you able to make DavMail retrieve your calendar >> items? > > Hello! I'm able to use davmail successfully, but I'm not sure how to > verify how my calendar is working. OK, thanks for following up. > I guess I'll try following > https://davmail.sourceforge.net/thunderbirdcalendarsetup.html and verify > it works with thunderbird? Sure, that'd be proof that something is working. > I did try going to the caldav url fom the instructions above: > > http://localhost:1080/users/mail@company.com/calendar > > But i received an error, so it's very possible that may not work or may > need a new url. > >> If yes, check if it uses, or can be configured to use, EWS >> rather than WebDAV. > > You mean if davmail can be configured to expose the calendar as EWS > rather than WebDAV or caldav format right? Because excorporate is only > capable of consuming EWS? No; my eventual goal is to help you get Excorporate communicating directly with the Exchange server, without needing DavMail. Today, Excorporate can only do that using EWS, not WebDAV. I was asking whether you can configure DavMail to use EWS, instead of WebDAV, to communicate with the Exchange server. If you can get DavMail communicating with the Exchange server using EWS (independent of Excorporate), then that proves a) your administrators allow access to the EWS APIs, and b) DavMail can successfully authenticate to your Exchange server. If (a) works, and (b) works using OAuth 2.0, then that's what this bug report intends to eventually provide support for in Emacs. If (a) does not work, then either Excorporate will not work, or someone could add WebDAV support to Excorporate. >> If you can make DavMail + EWS work somehow, then >> there's hope for Excorporate in your environment, with some oauth2.el >> integration effort. > > If DavMail is working, what is the need for oauth2.el? Interesting timing; I just pushed the start of url-http-oauth yesterday, but it's only the skeleton so far: https://git.sr.ht/~fitzsim/url-http-oauth url-retrieve operations are buried deep within Excorporate and soap-client. So oauth2.el's crucial TODO item about integrating with the URL library is relevant. It was never clear to me how to use oauth2.el to good effect, assuming a dependence on `url-retrieve'. So I'm writing another mode, similar to url-http-ntlm. This new mode will use the encrypted auth-source database to store Bearer tokens instead of plstore. Initially I will validate the mode with a demo package that authenticates to https://meta.sr.ht/query. Sourcehut has implemented OAuth 2.0 in a perfectly Free Software-friendly way. So I will validate that it works first. This should result in a URL add-on library that is well-integrated with Emacs, and maintainable, at least for one hospitable OAuth 2.0 provider. > It seems like a sensible lowest-effort way to get excorporate working > with SSO would be to totally depend on DavMail. One of Excorporate's main mandates is to have no middle-process. Similar to how Gnus doesn't need an external process to communicate with IMAP and SMTP servers. At this point I consider an Excorporate-to-DavMail integration a non-goal; it's not something I'd be interested in maintaining, anyway. Definitely try to get Emacs working with your calendar, and depend on DavMail exclusively. But there are probably better ways to do that, which don't involve Excorporate at all. > I tried to research whether this is possible, but unsurprisingly > searching "davmail calendar EWS" gave poor results. It seems to be covered here (via Searx): https://davmail.sourceforge.net/faq.html A search for "davmail calendar Excorporate" would probably eventually lead you back to this bug report. Thomas From debbugs-submit-bounces@debbugs.gnu.org Thu May 11 17:15:52 2023 Received: (at 50113-done) by debbugs.gnu.org; 11 May 2023 21:15:52 +0000 Received: from localhost ([127.0.0.1]:53554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxDdf-0008AB-OP for submit@debbugs.gnu.org; Thu, 11 May 2023 17:15:52 -0400 Received: from mail.fitzsim.org ([69.165.165.189]:58146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxDdd-0007rk-Bj for 50113-done@debbugs.gnu.org; Thu, 11 May 2023 17:15:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=fitzsim.org ; s=20220430; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=1O0V39fYU1nT7X2JdK9rYy7hvMBTj1gC5AmNjQzh6YE=; b=bcXzlclY1QmYItbIAKDhbqrIv+ K9o8clH+kzQkKaVREnyii5iK3UUGx08bzvud7XyJktDbURlcTik5/P81XJf+brw+cHiLdeMvYMNT4 w8h1/HMxJw6QUBujEcPoygdshB3gY/qfxqExtmubeceBU1WogHjVKxT2g1evP2qv9eqjoiGGuPmJO Azu9DceuxbLEaeksVYKne4UdJ1CFqIf/EMV4IVNrP+wpvHyjIVrMe4cYqTqP9LwZCuwZ9u4dkpF/8 jL1SIYvhRhHPluZwrUqVNBVNJBKwAVwL07bvssrRkaKeeMcbprKJuE74cc5Vkkmwt4ggzIFZ/OeyT wVsv5BYw==; Received: from [192.168.1.1] (helo=localhost.localdomain) by mail.fitzsim.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1pxDdX-000ADX-9v; Thu, 11 May 2023 17:15:43 -0400 From: Thomas Fitzsimmons To: Lars Ingebrigtsen Subject: Re: bug#50113: Excorporate: Communicating with domain that requires SSO? In-Reply-To: <87y1vg2t1d.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 22 Aug 2022 17:32:14 +0200") References: <2d3d2184-37c3-46e8-8bda-6fe5c603672c@www.fastmail.com> <961bde13-0446-48f5-b3d9-d6098c767353@www.fastmail.com> <87h7245rt1.fsf@gnus.org> <87y1vg2t1d.fsf@gnus.org> Date: Thu, 11 May 2023 17:15:42 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 50113-done Cc: Justin Abrahms , 50113-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Lars Ingebrigtsen writes: > Thomas Fitzsimmons writes: > >> I do see a way forward for implementing this, at least the parts that >> Emacs can control, so let's leave this open. > > Great! Excorporate 1.1.0, with OAuth 2.0 support, is now available on GNU ELPA. I'm closing this bug report. Please test the new release and create new bug reports if necessary. Thomas From unknown Tue Aug 19 09:59:54 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 09 Jun 2023 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator