From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Justin Abrahms" Newsgroups: gmane.emacs.bugs Subject: bug#50113: Excorporate: Communicating with domain that requires SSO? Date: Mon, 23 Aug 2021 17:30:53 -0700 Message-ID: <961bde13-0446-48f5-b3d9-d6098c767353@www.fastmail.com> References: <2d3d2184-37c3-46e8-8bda-6fe5c603672c@www.fastmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=3536c1cbb1fb45f1a811ad6d54cd1005 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12056"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Cyrus-JMAP/3.5.0-alpha0-1118-g75eff666e5-fm-20210816.002-g75eff666 Cc: 50113@debbugs.gnu.org To: "Thomas Fitzsimmons" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 24 02:55:13 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 1mIKic-0002iK-V8 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Aug 2021 02:55:12 +0200 Original-Received: from localhost ([::1]:60470 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mIKia-0000B8-Ro for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 23 Aug 2021 20:55:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33484) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mIKiU-0000Ak-LC for bug-gnu-emacs@gnu.org; Mon, 23 Aug 2021 20:55:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59484) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mIKiU-0001PQ-Dn for bug-gnu-emacs@gnu.org; Mon, 23 Aug 2021 20:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mIKiU-0006Hl-9C for bug-gnu-emacs@gnu.org; Mon, 23 Aug 2021 20:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Justin Abrahms" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Aug 2021 00:55:02 +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.162976645224098 (code B ref 50113); Tue, 24 Aug 2021 00:55:02 +0000 Original-Received: (at 50113) by debbugs.gnu.org; 24 Aug 2021 00:54:12 +0000 Original-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 Original-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 Original-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) Original-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: Original-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 In-Reply-To: X-Mailman-Approved-At: Mon, 23 Aug 2021 20:54:10 -0400 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:212523 Archived-At: --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--