Re: [OAUTH-WG] OAuth Request JSON Encoding

Tom Jones <thomasclinganjones@gmail.com> Mon, 13 July 2020 16:10 UTC

Return-Path: <thomasclinganjones@gmail.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1360C3A155A for <oauth@ietfa.amsl.com>; Mon, 13 Jul 2020 09:10:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 IsutjXD4EFZI for <oauth@ietfa.amsl.com>; Mon, 13 Jul 2020 09:10:48 -0700 (PDT)
Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2D1953A1461 for <oauth@ietf.org>; Mon, 13 Jul 2020 09:10:43 -0700 (PDT)
Received: by mail-ot1-x332.google.com with SMTP id a21so9897699otq.8 for <oauth@ietf.org>; Mon, 13 Jul 2020 09:10:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dcPEysqwfhoK/zLSZwpwSQAgrHCb2ZT116TfgDP494w=; b=Xy58uViIA9Q7OEj9BC3am6RNKUYzVp1RTjkqa6PNDErUR2Xd2j+zqwBqfwH02qZ21j To+yXmnAhqUxKcTuuoog+ckXDa8zGfdAaGsUBUBg3b39GNGC1d/B9Gi+c+sR6193Obwd 3AplZBtRJHUZDkgIx55RTX42foyj/M08sZx4rPsAnopx492ZcoDbq5oQ/7Y/j9UFlDH/ 7VP9e2c1YBoeZwm3eIjlF/QimHptdzCBA9iveOKnIRrUJ19x9UxVfemUSpgEHqvKn9os j+7UF9J8RSTVm+d9V+KhrtoyBRL14Cx34DjQm2tnFvjQw7IX6HJL/PrJx+JMlk9pZfx+ HZMw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dcPEysqwfhoK/zLSZwpwSQAgrHCb2ZT116TfgDP494w=; b=P2vTSdowtrVAwzuu2c/SjjO4bE9lK/UC9+2T0Joxuy2sca4sy9SN2i47jU25WbnbSu hWhyQNIkI8abITwQzD4igYUhrbTO3K8cRESHxcyUOuQ1UzDQdPaRPFxG7A5B3qRF0okN YDoAgNbzZ5Oxc2X9u7AEquyccrXg+6t0OMQno0/cydtWvIy8/hN2asBpMdxw3pGW78QO 960A5pyn1+QUdLWD8+FqhRtyWQEyOHULc6Pt2LbCPm/0cEDLkJpR7bSlbalek+wwlCZC +XLfBHOTKMl5M6FtpaJLBtMwippayB6EBFSZO1E5dhnoEowkw3q/rK84NcUUq0bHD41b cRlQ==
X-Gm-Message-State: AOAM533itvWBHgYdkzs43RrPsEDEGibyDMFFbXl51Xti5FQz979lEZA1 s4lwH8xnUFchPCkKDOW3MM3KZd02eDtFC7N9GjrzcaH5
X-Google-Smtp-Source: ABdhPJzOzZGBej+n65V6pk5ZXsJaH8YwiKbfuHn9Lz4/IhXfzUwUQzfS3w33N6Gdn8GNkwj/jiZsTN5AAsV9Q3AOM8s=
X-Received: by 2002:a9d:66ca:: with SMTP id t10mr280669otm.358.1594656642442; Mon, 13 Jul 2020 09:10:42 -0700 (PDT)
MIME-Version: 1.0
References: <0E71D133-A516-4F1C-92CB-36F181B1BA4A@mit.edu> <CAK2Cwb4XLL0gWwY8XCSmfe=hGE0G5RFFUf-FQE_DhHR1KYtb_w@mail.gmail.com> <C876645D-657C-448E-87CE-9A794549A175@tzi.org>
In-Reply-To: <C876645D-657C-448E-87CE-9A794549A175@tzi.org>
From: Tom Jones <thomasclinganjones@gmail.com>
Date: Mon, 13 Jul 2020 09:10:31 -0700
Message-ID: <CAK2Cwb4G4fqXxQ3JCftwVg8Ft+HiAJu5YcJb1N75JtHrGCVucA@mail.gmail.com>
To: Carsten Bormann <cabo@tzi.org>
Cc: Justin Richer <jricher@mit.edu>, oauth <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000b6293305aa54eecc"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/WoeedjpGFs7zRVZrVRfIw3PxArU>
Subject: Re: [OAUTH-WG] OAuth Request JSON Encoding
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Jul 2020 16:10:55 -0000

ahh - thx - so that explains why RFC 6749 OAuth 2.0 is ambiguous on the
topic. I suspect that means that GNAP will take a dependency on 8259,
Peace ..tom


On Mon, Jul 13, 2020 at 8:34 AM Carsten Bormann <cabo@tzi.org> wrote:

> On 2020-07-13, at 17:19, Tom Jones <thomasclinganjones@gmail.com> wrote:
> >
> > What, exactly is json encoding?
>
> JSON is defined in RFC 8259.
> The term “encoding” is ambiguous here, it could be used for the encoding
> of a JSON text (which employs UTF-8) or the representation of an
> application data model using the JSON generic data model.
>
> > It sounds like a python or java method.
>
> Many languages and platforms support JSON.
>
> > Afaik json can be encoded in utf 8 16 or 32.
>
> Early definitions of JSON said so, even though that practically never
> happened in interchange.  RFC 8259 supports UTF-8 encoding only.
>
> Grüße, Carsten
>
>