Re: [Txauth] A Request/Response Flow Diagram

Justin Richer <jricher@mit.edu> Tue, 10 March 2020 16:01 UTC

Return-Path: <jricher@mit.edu>
X-Original-To: txauth@ietfa.amsl.com
Delivered-To: txauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7BE8E3A1575 for <txauth@ietfa.amsl.com>; Tue, 10 Mar 2020 09:01:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.1
X-Spam-Level:
X-Spam-Status: No, score=0.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, PDS_OTHER_BAD_TLD=1.998, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ixRIB3OccJTZ for <txauth@ietfa.amsl.com>; Tue, 10 Mar 2020 09:01:31 -0700 (PDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2ED1F3A1565 for <txauth@ietf.org>; Tue, 10 Mar 2020 09:01:30 -0700 (PDT)
Received: from [192.168.1.5] (static-71-174-62-56.bstnma.fios.verizon.net [71.174.62.56]) (authenticated bits=0) (User authenticated as jricher@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 02AG1OaO001042 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 10 Mar 2020 12:01:25 -0400
From: Justin Richer <jricher@mit.edu>
Message-Id: <97E201E9-43E2-4112-8C3B-A98F4E48DD10@mit.edu>
Content-Type: multipart/alternative; boundary="Apple-Mail=_7A195CC8-C971-425A-B79A-5D6FEC4B8FE0"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Date: Tue, 10 Mar 2020 12:01:24 -0400
In-Reply-To: <73c482b5-351a-4fd0-b423-3ff987c3670e@www.fastmail.com>
Cc: txauth@ietf.org
To: Amanjeev Sethi <aj@amanjeev.com>
References: <73c482b5-351a-4fd0-b423-3ff987c3670e@www.fastmail.com>
X-Mailer: Apple Mail (2.3445.104.11)
Archived-At: <https://mailarchive.ietf.org/arch/msg/txauth/gITJ4c4BKD08whZOPRjHz1SlO2A>
Subject: Re: [Txauth] A Request/Response Flow Diagram
X-BeenThere: txauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <txauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/txauth>, <mailto:txauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/txauth/>
List-Post: <mailto:txauth@ietf.org>
List-Help: <mailto:txauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/txauth>, <mailto:txauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Mar 2020 16:01:37 -0000

For XYZ, it depends on the kind of interaction you are doing and how you’re getting back to things. If you’re doing a full redirect back and forth, it looks like this:

https://www.websequencediagrams.com/cgi-bin/cdraw?lz=cGFydGljaXBhbnQgYnJvd3NlciBhcyBiCgANDGNsaWVudCBhcyBjAAsNdHJhbnNhY3Rpb25cbmVuZHBvaQAhBnQAMg1pbnRlcgATFGkKCmMtPnQ6IHN0YXIAQA9DYWxsYmFjayB1cmwgKEMpXG5DAIEABm5vbmNlIChjbikKbm90ZSBvdmVyIGM6IHNob3VsZCAoQykgYmUgdW5pcXVlIHBlcgCBGgw_CnQtPmM6AIEtDCBoYW5kbGUgKFQxKVxuSQCBIQogVVJMIChJKVxuU2VydmVyAHEIcwBsDXQ6IChJKSBpcwBbFwpjLT5iOiBnbyB0byAoSSkKYi0-aTogPj4ABwY8AAkFYXV0aGVudGljYXRlIHVzZXIsAA4Fb3JpemUKaQAsBUxvb2sgdXAAgmUORmluZACBDAUsAIILBSwgKEMpACkHY3JlYXRlAIJvDCByZWYgKFIAEg9oYXNoOlxuKEgpID0ACAUoY24sIHNuLCAAJAZiOiBHAIE2BkMpXG4gaW5jbHVkZSAoSCksIChSKSAKYgCCTAU-PgCDHgYAEAgAgw0OdmFsaWRhdAAyBQCDawcAgnYMY29udGludWUgcmVxdWVzdACDBwUAQQZ0AIQaBQA3CQCDLAwAGA1jOiBhY2Nlc3MgdG9rZW4gKEEpLCAoVDIpCgo&s=earth

If you’re doing a user code with no callback, it looks like this:

https://www.websequencediagrams.com/cgi-bin/cdraw?lz=cGFydGljaXBhbnQgdXNlciBhcyB1CgAKDGJyb3cAEgdiAAwNY2xpZW50IGFzIGMAJA10cmFuc2FjdGlvblxuZW5kcG9pACEGdABLDQBpBWNvZGUAFw5pCgpjLT50OiBzdGFyAEANCnQtPmM6AFMMIGhhbmRsZSAoVDEpXG5VAEkIIChVQwAICENvZGUgVVJMIChVQ1UpCmMtPnU6IGNvbW11bmljYXQAJgYsIG1heWIAMwVVKQp1LT5iOiBnbyB0bwAvB2ItPmk6ID4-AAcIPAALBWF1dGhlbnQAQQZ1c2VyCnUAIwVlbnQAfQwKaQA5BUxvb2sgdXAAgUQNAD4Lb3JpemUKaQB2BXNob3cgImNvbXBsZXRlIiBtZXNzYWdlCgpsb29wIHBvbGwgd2hpbGUgd2FpdGluZwogICAgAIIvBmNvbnRpbnVlAIIZDShUbikAHwV0AB4GaGVjawCCOg1zdGF0dXMAGwhjOgBUBSByZXNwb25zZSAoVCBuKzEpCmVuZAoAgn4HYWNjZXNzIHRva2VuIChBKQoKCg&s=earth

If you’re doing a QR code, it looks like:

https://www.websequencediagrams.com/cgi-bin/cdraw?lz=cGFydGljaXBhbnQgdXNlciBhcyB1CgAKDGJyb3cAEgdiAAwNY2xpZW50IGFzIGMAJA10cmFuc2FjdGlvblxuZW5kcG9pACEGdABLDUludGVyABMUaQoKYy0-dDogc3RhcgBCDQp0LT5jOgBVDCBoYW5kbGUgKFQxKVxuAEgLIEUAcQgoSSkKYy0-dTogY29tbXVuaWNhdGUAEQV1LT5iOiBnbyB0bwAhBWItPmk6ID4-AAcGPAAJBWF1dGhlbnQALwZ1c2VyCmkAIQVMb29rIHVwAIERDQAoC29yaXplCmkAXAVzaG93ICJjb21wbGV0ZSIgbWVzc2FnZQoKbG9vcCBwb2xsIHdoaWxlIHdhaXRpbmcKICAgIACBfAZjb250aW51ZQCBZg0oVG4pAB8FdAAeBmhlY2sAggcNc3RhdHVzABsIYzoAVAUgcmVzcG9uc2UgKFQgbisxKQplbmQKAIJLB2FjY2VzcyB0b2tlbiAoQSkKCgo&s=earth

I need to clean these up but I would like to put them up on the website once they’re in good shape.

 — Justin


> On Mar 10, 2020, at 10:56 AM, Amanjeev Sethi <aj@amanjeev.com> wrote:
> 
> Hello everyone,
> 
> Is it possible to see or create a rough diagram of the current request/response understanding of TxAuth?
> 
> I am trying to get the overview and sometimes I find it easier to look at this flow diagram to see the important parts of the protocol.
> 
> If something like this exists already, could you please point me to that? I was hoping this https://oauth.xyz/interaction/ <https://oauth.xyz/interaction/> would host the diagrams.
> 
> Best,
> AJ
> -- 
> Txauth mailing list
> Txauth@ietf.org <mailto:Txauth@ietf.org>
> https://www.ietf.org/mailman/listinfo/txauth <https://www.ietf.org/mailman/listinfo/txauth>