Re: [OAUTH-WG] self-issued access tokens
toshio9.ito@toshiba.co.jp Mon, 04 October 2021 02:27 UTC
Return-Path: <toshio9.ito@toshiba.co.jp>
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 4C7433A0E59 for <oauth@ietfa.amsl.com>; Sun, 3 Oct 2021 19:27:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_FONT_LOW_CONTRAST=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 2q4m6r57KrDq for <oauth@ietfa.amsl.com>; Sun, 3 Oct 2021 19:26:59 -0700 (PDT)
Received: from mo-csw.securemx.jp (mo-csw1114.securemx.jp [210.130.202.156]) (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 494703A0DFC for <oauth@ietf.org>; Sun, 3 Oct 2021 19:26:58 -0700 (PDT)
Received: by mo-csw.securemx.jp (mx-mo-csw1114) id 1942QlM3030588; Mon, 4 Oct 2021 11:26:47 +0900
X-Iguazu-Qid: 2wGr0wVJqXrTNXpBQs
X-Iguazu-QSIG: v=2; s=0; t=1633314406; q=2wGr0wVJqXrTNXpBQs; m=xg1POiXW2VcB1lSF7pf35PSQfIIui//Wj/BEunZGdiE=
Received: from imx2-a.toshiba.co.jp (imx2-a.toshiba.co.jp [106.186.93.35]) by relay.securemx.jp (mx-mr1111) id 1942QkSH018682 (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Mon, 4 Oct 2021 11:26:46 +0900
Received: from enc01.toshiba.co.jp (enc01.toshiba.co.jp [106.186.93.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by imx2-a.toshiba.co.jp (Postfix) with ESMTPS id 0DC631000D5; Mon, 4 Oct 2021 11:26:46 +0900 (JST)
Received: from hop001.toshiba.co.jp ([133.199.164.63]) by enc01.toshiba.co.jp with ESMTP id 1942QjYc003506; Mon, 4 Oct 2021 11:26:45 +0900
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ti/mmxfWxGEcczdDxRsSSbxgaZ3BqP8Fmgbw4wWSFWe/NeJiBJGm1Z0S1p2OEL6H+K5bshQWRfqRwmWkb6cG5PKZtTv59dvGUgJkGkKh96JQ3bss63v6mVWGceE9CQpy7AayBZbnIs84LLhp6QN+IkzTMqC2G+EDm1rg7nZ7v5hRxZ1qHFs77tBGwAkHlXUfgVlWMOKpIsHKNOjAG2zdUfC2GPCV+JWcYBMMd7utclcjIJPptynR8MaJOeS6e2do3yiv+9dWp6KsOIGDPFg0ZgchjWoZHAxk9UcwD3yKLCEUKIJakmb2jemEvGEBZNlVgjc1c3KLxNjGBYHZ08NROw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=U18MwuiKixlujxcPvSg/Vi4ZFU7DIhhViPAEAt2Hkt8=; b=KLyNSYKzhq0wigFysw8UN5cwVBLaXDWvcQ/qmOUNxSWBFdSUg8DxJffylIiXHrank0TgLdGFiSwSQ2G+u6dIL4UFrbvJlUxPIJKe+Kt3jLeCsVGBRhCNrcDTj7TWFbU0siQE4L5F+KJROA4o3mHkKs8BGtxCdSG3uTEF9aNnlYeBkMZ2EXKBTOoX9pg3RYds+9GuRhu5Iiac2R0FQHd/lfmBsxwvRhhSspW9wlLJJ+HLK9XqcSV6btNBLJTK8DI1AwuXPk19mts9iueC0c1XQSJQ7F/QVElAiGsmaKJIzHEm02q7DqtM40OjNdBE01XYt0+w/EPICpbS/EMBzl/CqQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=toshiba.co.jp; dmarc=pass action=none header.from=toshiba.co.jp; dkim=pass header.d=toshiba.co.jp; arc=none
From: toshio9.ito@toshiba.co.jp
To: david@alkaline-solutions.com, dick.hardt@gmail.com
CC: oauth@ietf.org
Thread-Topic: [OAUTH-WG] self-issued access tokens
Thread-Index: Ade01Nk+d5eF4L5tTXCgjU67TgIDjwAIzLwAAFmdA8AABlM7gAABzSyAABntvoAACEZ/AABv1sHA
Date: Mon, 04 Oct 2021 02:26:43 +0000
X-TSB-HOP: ON
Message-ID: <TYCPR01MB56784DD748F0977AEA0C0AA9E5AE9@TYCPR01MB5678.jpnprd01.prod.outlook.com>
References: <TYCPR01MB567859999FB3350D6A1C63E5E5A99@TYCPR01MB5678.jpnprd01.prod.outlook.com> <CAD9ie-sgjUv3fppvTZvPpOyUKXo1H1i9LtkOk2yxzZ1+A+wt6w@mail.gmail.com> <TYCPR01MB56784381BE6799ADAA46E360E5AB9@TYCPR01MB5678.jpnprd01.prod.outlook.com> <CAD9ie-tMp44z_b=hG+OWC=Hc83RpC_WZ4AaerRMaOZ8cfEkDSg@mail.gmail.com> <TYCPR01MB56787D963D23F78B0800C6CBE5AB9@TYCPR01MB5678.jpnprd01.prod.outlook.com> <CAD9ie-u2MRQygYKCDOHBWvu_xO2p96+-vPHir6E3_SEh5OGbqw@mail.gmail.com> <FA113C6E-2A9A-4DFD-A7AB-500955EF9B2E@alkaline-solutions.com>
In-Reply-To: <FA113C6E-2A9A-4DFD-A7AB-500955EF9B2E@alkaline-solutions.com>
Accept-Language: ja-JP, en-US
Content-Language: ja-JP
X-MS-Has-Attach: yes
authentication-results: alkaline-solutions.com; dkim=none (message not signed) header.d=none; alkaline-solutions.com; dmarc=none action=none header.from=toshiba.co.jp;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 53912d5a-f959-4ed2-5469-08d986de6833
x-ms-traffictypediagnostic: TY2PR01MB2426:
x-microsoft-antispam-prvs: <TY2PR01MB2426956F4603034290E45F72E5AE9@TY2PR01MB2426.jpnprd01.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:6790;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 3bUGYAMU9A3nRXdykM1wDGHgCmuVNDdWJ3MAHwJbdi/fd9hR8xZKfIanSKiAzOlWOAqfLzRAKk2LXIGI7gZcMBiRZfFxgC481xyKck3dtlvSkwzSqGbh1Ks9YqN5/rJiPowEtfPRMlPXl1C7l5U2GPZtXzaR29wn/oNtgcrfTPAHTrmPmbcpHbzzHhjGd/O6yQvyRI4nV8/l+/gJE02woakDSiT6bQSToaC63JP2pMJIKqK4H84ZnkWcCn6cM3IjV0HNhxREn/BB8rxaTzvsbLVqk1pmA36VleqlMvnYdJT8ziH2zORX9lyGGPR/oEteJMKXo02MoCpG9QfZ7JJIyfJVDtbA/xiIYS0KpeUKOZi0ZS29DbtVQ5kFCYqRRDUd5wW0y/gpzxwEyuX44o7Z9Oo6ShDQWOwbGXS507Pkam7CBuzaxY6gkAnlEH78p6VeaHpVaV8CDsKGj2O13AWY3RgmOX0BslYMTOejF7NwZeRcOUeOJZUZ2imr0l19xemtgvNj6b7po+kHRNgoyisXXoPFvQcXjT4WjnLOZD9yi7EA3hNPmya9WXjkp0KbV7lIbpDOWWlw0RMRJHlWEr1pVOqVWbXNRua3yecbj+wTXFRXpFoIQyRLzijggG2uqxIglfmFvLBfLVR3xWc4ScIwbcVhIhPF/PNai9z3LJztQ3RTkT8ZGuJlArwst7kWhjC5lKgotgfPn2P3csXzjYeQ3w==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:TYCPR01MB5678.jpnprd01.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(6506007)(53546011)(52536014)(99936003)(26005)(38100700002)(122000001)(110136005)(508600001)(5660300002)(186003)(38070700005)(316002)(2906002)(83380400001)(8676002)(66946007)(86362001)(7696005)(33656002)(9686003)(55016002)(71200400001)(66446008)(64756008)(66556008)(66476007)(8936002)(4326008)(76116006); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: n+vFEcdLClm4UEMnGvgLZl6LRBuZCbBkCEBnG5EEvvcQyjCESN2Y7En2T467fF88+faP2E6HQzFCYwGURgIjEtt1obfRzwpjAuZr6q2jZVPJ9Xv1uN8mHPzZJROUvbcYwMfe1M084tAWEh+RbEfLczJ95Q09Nj4MJeldOewaLnXJ1sDdKJ9w1iXJfm52UJbEksv18lUmrwprANjCCXyVMT+opsaxqUU+Bs/bmnjdr3bV60Y1YArY5Vde/y1M8HrDyonDSGGc9SGeEliG9nAW9qxQdTex41FOZAPvfu6714sQL9DgbxJx3WF70Eb3tkxFz5jZxCkjveSJY6zTW7jPGfTiakWRhlWyQL+We3/+Epz187ovo4kJAeSbWMXbnLFZka2KjI5Mw1xNPPYpH1KPmsB7qz2jsmjcnjQIwZxFZK5S8xeomtafAhwZJkeKyPKzTHgQDOLQVqDYjhZi/GYBB5S0lSW4MJE5GhQmUR1gFqUCxirPixfwOtcXUNyGom2D5cwwtXUC7E4YHug16FBZgLhYGGnMwUDAiI2ppj3TmfRRLgGGIYBYTHt7YpWCHf7dQss0I1rK2NkpwJIyhEM1mxRh5YrTUAV3B/haaYt6JhtfoBp+21jPFEjaXDRjXbl0yblIJfAFDkNIKsYCdWWHjV6EiQcidpCHYa8d4q0ftGGHzgVEdvsMmwPyVjR2AABwdiMtN8AyUl56h9hhx8ZL2t4OEnyseqx8G7v6GGQPhkhi0gEg8ij62io7rowRtIUDd5aXTihFQlvj2s0cugBxpz0lA2ihZS6duzRrbSxTW19wsI3BotXtURww+kZ1tLkx0D+8hlMCmWye0lYv7eRtPiXxvUr1iT/GyWYX40/69chZP/BX1YrZPzHIO8MI9SigoopMW1N1aHAKYwcs74GW1IMx51sFqinh/X+jC+clBHIM+gflfLVZKnOLy/0VXMWr8xMgbyvHiTbi0WdQV9iUIZW1cPNCB3qnj+TzhmEzM1w/UrT+05ipAGky6TQ2aLsZjqqK4G/+ZX8QjELpZPg/njY2eG+DO7H+Fzfsui9JuDBj64EFpuvgfpEAeHczdMSnveaqJrYw4k5Jes1gkQq9KjcbzrHxoUZIbPsBGvVzmm9XMDCSb/eWrpsrqhAAt5BUTCC7XomW5fAJOJXOSjRT2WsqWFse76wHOcms4kCnfeIB27bSeFO+FgQkljmmkuyCfgiU4CZV4DIOM7gkhKnIMnkXl97ZHP8DYfYyEMHfArIriQ1CdLSbOqRfeXk9Le0t8esXxipbVj1eE7TStRwP2qJfERZc7o1S76d4CzThHU+ngoddqOLTiLbeBCDYK9/H
x-ms-exchange-transport-forked: True
Content-Type: multipart/related; boundary="_004_TYCPR01MB56784DD748F0977AEA0C0AA9E5AE9TYCPR01MB5678jpnp_"; type="multipart/alternative"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB5678.jpnprd01.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 53912d5a-f959-4ed2-5469-08d986de6833
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Oct 2021 02:26:43.8273 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: f109924e-fb71-4ba0-b2cc-65dcdf6fbe4f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: dbhkJKBmJ5b3VCMR+loldzUqKJxsTanzOs7/6qfIhBY0g2wosPX9+40VtUsnLv4nj5Pv5Aenf+GRur9akvXrQzH7T0AIvcYoil9OQQo4zLA=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY2PR01MB2426
MSSCP.TransferMailToMossAgent: 103
X-OriginatorOrg: toshiba.co.jp
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/5zky1-9vucLLIEkhh5iYsLvG9M8>
Subject: Re: [OAUTH-WG] self-issued access tokens
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, 04 Oct 2021 02:27:11 -0000
Thanks Dick, Our use case is basically the option 2. There is only one RS. So, to simplify the architecture, we want to omit the round-trip of getting an access token from AS. I agree with your idea of using JWTs to convey client's signature. So my original question was if there was a standardized profile of a JWT for that purpose. From the responses to this thread so far, I think the answer is no. Thanks for comment, David, Yeah, maybe it's wise to have AS anyway for better extensibility. Toshio Ito From: David Waite <david@alkaline-solutions.com> Sent: Saturday, October 2, 2021 6:04 AM To: Dick Hardt <dick.hardt@gmail.com> Cc: ito toshio(伊藤 俊夫 ○RDC□IT研○CNL) <toshio9.ito@toshiba.co.jp>; oauth@ietf.org Subject: Re: [OAUTH-WG] self-issued access tokens On Oct 1, 2021, at 11:06 AM, Dick Hardt <dick.hardt@gmail.com<mailto:dick.hardt@gmail.com>> wrote: <snip> If there is really only one service, then there is little value in an AS. I would have the client post a JWT that has the request payload in it, or a detached signature if it is a large payload. Personally, I like sending the request as a JWT as it allows services further down the processing pipeline to independently verify the request from the client. This assumes sufficient computing power on the IoT device, and reasonably low call volume. [イメージは差出人によって削除されました。]ᐧ One interpretation of the purpose in the AS is to create tokens based on its authorization decisions, while direct submission of client-authored JWTs would be more in line with having the RS make those decisions directly. Even if they were hosted on the same hardware, I’d still push to use an AS-role component in order to optimize the decision making process and to not have to refactor (or risk duplication) of that logic later. -DW
- [OAUTH-WG] self-issued access tokens toshio9.ito
- Re: [OAUTH-WG] self-issued access tokens Dick Hardt
- Re: [OAUTH-WG] self-issued access tokens Vittorio Bertocci
- Re: [OAUTH-WG] self-issued access tokens Sascha Preibisch
- Re: [OAUTH-WG] self-issued access tokens Daniel Fett
- Re: [OAUTH-WG] self-issued access tokens Sascha Preibisch
- Re: [OAUTH-WG] self-issued access tokens Nikos Fotiou
- Re: [OAUTH-WG] self-issued access tokens David Waite
- Re: [OAUTH-WG] self-issued access tokens Nikos Fotiou
- Re: [OAUTH-WG] self-issued access tokens toshio9.ito
- Re: [OAUTH-WG] self-issued access tokens toshio9.ito
- Re: [OAUTH-WG] self-issued access tokens toshio9.ito
- Re: [OAUTH-WG] self-issued access tokens Dick Hardt
- Re: [OAUTH-WG] self-issued access tokens toshio9.ito
- Re: [OAUTH-WG] self-issued access tokens Dick Hardt
- Re: [OAUTH-WG] self-issued access tokens David Waite
- Re: [OAUTH-WG] self-issued access tokens toshio9.ito
- Re: [OAUTH-WG] self-issued access tokens Warren Parad
- Re: [OAUTH-WG] self-issued access tokens David Chadwick
- Re: [OAUTH-WG] self-issued access tokens Dick Hardt
- Re: [OAUTH-WG] self-issued access tokens toshio9.ito