[Jwt-reg-review] ext (Extension) Claim?

Scott Morgan <scott@adligo.com> Sat, 13 July 2019 20:03 UTC

Return-Path: <scott@adligo.com>
X-Original-To: jwt-reg-review@ietfa.amsl.com
Delivered-To: jwt-reg-review@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C64FF1200C4 for <jwt-reg-review@ietfa.amsl.com>; Sat, 13 Jul 2019 13:03:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.003
X-Spam-Level:
X-Spam-Status: No, score=0.003 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=adligo-com.20150623.gappssmtp.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 MM8un8JJVbuD for <jwt-reg-review@ietfa.amsl.com>; Sat, 13 Jul 2019 13:03:45 -0700 (PDT)
Received: from mail-qt1-x844.google.com (mail-qt1-x844.google.com [IPv6:2607:f8b0:4864:20::844]) (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 3661E12003E for <jwt-reg-review@ietf.org>; Sat, 13 Jul 2019 13:03:45 -0700 (PDT)
Received: by mail-qt1-x844.google.com with SMTP id z4so11790495qtc.3 for <jwt-reg-review@ietf.org>; Sat, 13 Jul 2019 13:03:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adligo-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=nFZxriwD2MG06IQPY+yiudcQLse+Yn2dCrBB0lEPDZ4=; b=zGFTTJxqBEtfA46PQgWSQRCXSLSJgng0GSl4KknzjqGt9ivxCJ022q7bPy7j6S+G2W r57ubhnmw5iXgrow7OEroUyBe5FeMOkjuypsar2EWX5C+BnGKelgoqcDE5L9BZyCG9HH 2RRvEDmOBkNXeTiaxoBqC0Q7joR5j+BxWSD+idS82SmNldbO8feKWtQ3M1GYVbQ/WoPO kBM6Oq66tQ30oTrxLlKIDQNYFnHfuSzMHzgN56DyPKmSxtJ4Up/7FSi2r4X+XeeYyplx V7YNcsvsorDvBzEpyXeie0a6Bah+1oKEqHI/hmbioaKbZV3Qn8+ms8rR9MnwM7WMlafM 7ZFg==
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=nFZxriwD2MG06IQPY+yiudcQLse+Yn2dCrBB0lEPDZ4=; b=Wy4DFs/MG+jpI8i2dJHBxUwsyki/fnFe9hEpBAq2NKGW0VtBjDmmKFddBDYhe1wM+D sp6S/C+0F5c8WeSDdfxvkYDoudG6epxW+0+tIgxGk8FzyfdAbk7XB2N9ji8tChYGyeam 9PeMMJx0mq1NdgqNmTBVNzYpGqIQXRlzOJ/748C5TIUtLn5yM5DNV3auO8dUF0p3704L MhyfQIWBB/lps0lO+Nvu39dgjuNuXhK/TM6+5EXXdCp0sc7D/Wg6ZADYmNtKdCVtos9H 9nvG+vrVszi6ibKeWlg3rwAd7FzE2hGQn/dEruoOXwPu8uVgTu2F0mNk+g3UaY+Lxdef 3qKA==
X-Gm-Message-State: APjAAAXD0nSG5nH6LMqOolSWbeX9fyRcIrxLRRttZZXG3WTVZyLex2K1 tFfmQ9ZiQCwoTWWoQJ1uUIcMJx/LbOhuN7x0dFedGDuD
X-Google-Smtp-Source: APXvYqw5mjwYDrASn1YFeyEWGjU+hUBsM7jHjoUXzkgbATyBgCkBSM7GSvI+49lb5A4VKEkIUanWfhfNuthrzPJ+zwg=
X-Received: by 2002:a0c:e952:: with SMTP id n18mr11834389qvo.63.1563048223985; Sat, 13 Jul 2019 13:03:43 -0700 (PDT)
MIME-Version: 1.0
From: Scott Morgan <scott@adligo.com>
Date: Sat, 13 Jul 2019 15:03:33 -0500
Message-ID: <CANEdHmjErfZ_qXmMpdnoXJqaWT6Ojqc+F=McbeQj1L6wsAz=PA@mail.gmail.com>
To: jwt-reg-review@ietf.org
Content-Type: multipart/alternative; boundary="0000000000002866f7058d958618"
Archived-At: <https://mailarchive.ietf.org/arch/msg/jwt-reg-review/xfPsuvMTZaMz80JcL0qXDbaGnz4>
Subject: [Jwt-reg-review] ext (Extension) Claim?
X-BeenThere: jwt-reg-review@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Expert review of proposed IANA registrations for JSON Web Token \(JWT\) claims." <jwt-reg-review.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jwt-reg-review>, <mailto:jwt-reg-review-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/jwt-reg-review/>
List-Post: <mailto:jwt-reg-review@ietf.org>
List-Help: <mailto:jwt-reg-review-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jwt-reg-review>, <mailto:jwt-reg-review-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Jul 2019 20:03:47 -0000

Hi All,

  I am simply trying to extend JWT to add some arbitrary data including;
roles (ie LDAP)
auth-cache-servers
name (ie LDAP)
sname (ie LDAP)

  Should this be done with a new claim 'ext' (Extensions);

{"typ":"JWT",
"alg":"HS256",

"ext": {

   "name" : "Scott",

   "sname" : "Morgan",

   "roles" : ["SA", "ROOT"],

   "auth-cache-servers" : ["1.2.3.4","2.3.4.5"]

   }

}


Or is there better way to extend JWT?


This is connected to work on;

https://tools.ietf.org/html/draft-adligo-hybi-asbp-02


-- 
Regards,
Scott Morgan
President & CEO
Adligo Inc
http://www.adligo.com
https://www.linkedin.com/in/scott-morgan-21739415
A+ Better Business Bureau Rating
<https://www.bbb.org/chicago/business-reviews/computer-software-publishers-and-developers/adligo-inc-in-chicago-il-88381256>
https://github.com/adligo

By Appointment Only:
1-866-968-1893 Ex 101
scott@adligo.com
skype:adligo1?call
Send Me Files Securely:
*https://www.sendthisfile.com/f.jsp?id=ewOnyeFQM18IDRf7MMIdolfI
<https://www.sendthisfile.com/f.jsp?id=ewOnyeFQM18IDRf7MMIdolfI>*