[OAUTH-WG] JSON based access token requests for OAuth 2.1

Janak Amarasena <janakama360@gmail.com> Tue, 06 October 2020 14:17 UTC

Return-Path: <janakama360@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 164F03A0A0B for <oauth@ietfa.amsl.com>; Tue, 6 Oct 2020 07:17:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.588
X-Spam-Level:
X-Spam-Status: No, score=-1.588 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, HTML_OBFUSCATE_05_10=0.26, SPF_HELO_NONE=0.001, SPF_PASS=-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 ZbayvnHCd22R for <oauth@ietfa.amsl.com>; Tue, 6 Oct 2020 07:17:47 -0700 (PDT)
Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) (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 3D70A3A0A08 for <oauth@ietf.org>; Tue, 6 Oct 2020 07:17:47 -0700 (PDT)
Received: by mail-io1-xd31.google.com with SMTP id u6so13158767iow.9 for <oauth@ietf.org>; Tue, 06 Oct 2020 07:17:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=JqdOYd7N3mAD+yjXZS75V8zMBk7hsIzKLXD6wjCQA+k=; b=ZdeGmmi+SOqxarDh9q8md5hp1oFDQQ1KwCNV+GEwYgjlPWeaoyJ/E7MOa6HeUpqNv0 w1TE4rOecorcMclbHXm3nP6jGEtD+zeRPWNuOhlj7qk6zL+4S0Sla+O28njDyMCK08vr d9vD+WwFDajXkFrNolQqvxE8Ojptk9SEC51FOTM1+iBu5zWyzKZ29kbytLNz/usmO9r4 tlpWKojIwCcIq4pUyHvo7c10vfj3azy4cZPTf1HdcpHFQyH3VCCdJQrE1Kz0A8p2TtHg /BLRXTSJ7OHU5UWLM3yTPRQR1sHWnoX0NL2YFI6aPk/heSP8LpAcMpFMGn1BZ7tYbP9w wfqA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=JqdOYd7N3mAD+yjXZS75V8zMBk7hsIzKLXD6wjCQA+k=; b=FVagNhs+v7TZ8X4B/4M4ppe55v4KlKZfAu67oi8gdqr0JHON8EmYPLcGatHZM9lgbi CHqJVuMh8PVH1DBQhYva8VoCZ3PlEjYOn0fGjBizVqk6T1kuK0CzGqBpIs2zL6ilhY7D 4eJarB2pOub31yUj3xbYXO+Q5Bh9Y0sqHa/XWUHFA/Znh8LROlVAUABXs+Y87WXaqyLh y4SbvNIXYwUq5xpSmcs2mzgbvAyExAhOeJsXuM47juQqAr0VplyJ0DuU3L+9TCoATI31 MhpXmbqmIyCy5r2cqagKrzlQSygxkbAuL9WZpeYHRxOz9DCKcNAHsV5RlXcpNXpZHhv7 hQ0A==
X-Gm-Message-State: AOAM5316NgSnj+CKLhJlteB3oXCn0rtQBNUGmda9XLzjVMTqqXRk4kbh /IMoNMjDksOENSdec0PJmrzVChxT31MVWGlgS+YmzjJaebw=
X-Google-Smtp-Source: ABdhPJyO9ntloI7NA1U8AwbHfbKVN5NoGt7eYOtnlrBW2s5dylbyejVDPMIHbNqzOLHQjJHhVhkN24UbfKmwwssND6w=
X-Received: by 2002:a6b:610c:: with SMTP id v12mr1272885iob.101.1601993866123; Tue, 06 Oct 2020 07:17:46 -0700 (PDT)
MIME-Version: 1.0
From: Janak Amarasena <janakama360@gmail.com>
Date: Tue, 6 Oct 2020 19:47:10 +0530
Message-ID: <CAM7dPt1T6YkfOnTdcR65x4E54dnPuwZQ_k2mrMqfiho0eNyzMw@mail.gmail.com>
To: oauth <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000529ff405b10143da"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/HfLRRVPLDV1vipLZ80FjuuQS204>
Subject: [OAUTH-WG] JSON based access token requests for OAuth 2.1
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: Tue, 06 Oct 2020 14:17:49 -0000

Hi All,

As per my understanding OAuth 2(RFC6749) doesn't mandate any specific media
type to be used in the access token request. The spec implies application/x-
www-form-urlencoded should be used. Since the media type application/json is
very popular and widely used now, any thoughts on referencing the use of
this as well for access token requests?

Best Regards,
Janak Amarasena