[GNAP] How to Learn

Josh Fischer <josh@joshfischer.io> Fri, 08 September 2023 20:14 UTC

Return-Path: <josh@joshfischer.io>
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 C375BC151551 for <txauth@ietfa.amsl.com>; Fri, 8 Sep 2023 13:14:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Level:
X-Spam-Status: No, score=-1.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=joshfischer-io.20230601.gappssmtp.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5syw5Y-Lm_Fm for <txauth@ietfa.amsl.com>; Fri, 8 Sep 2023 13:14:48 -0700 (PDT)
Received: from mail-oa1-x2f.google.com (mail-oa1-x2f.google.com [IPv6:2001:4860:4864:20::2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 50674C15154E for <txauth@ietf.org>; Fri, 8 Sep 2023 13:14:48 -0700 (PDT)
Received: by mail-oa1-x2f.google.com with SMTP id 586e51a60fabf-1c4cd0f6cb2so1277978fac.0 for <txauth@ietf.org>; Fri, 08 Sep 2023 13:14:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joshfischer-io.20230601.gappssmtp.com; s=20230601; t=1694204086; x=1694808886; darn=ietf.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=nJ2Nvr3dkfG5sPjaAuTBh4VssZrT0Vt4k0nWk7arQKc=; b=y0Qzw9zhJ8AYnwPWyKCwsUE9VlskATKf5GUzS1XyRhABXQeZOnoB2ZJxhqGV/fk1IR ebQcwOZZaDW+vqjiBswQ6hkR798jRRvrGfGobZEQ4bgt0KI6kwQxfe6o5kohPrqkVU7N CCvQgW1HINlyCQnIt4Gw4ww4QIdU6bsaaLDv7mwahPwrETBe1clwWKNpUQBICdGFNW4q 6SrIAkiz4YLLRxMl9S62vVr9haDIRnkdGhNVl5lE4qYe8Pbg21icCEP8KKUlaRWvTYvD +hz36PEDs4vOvxqAXooYaI60xrx0VDs8DVQ90mecRr8oWTjbRX/lvCYUballadIOoMeh 9i9A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694204086; x=1694808886; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=nJ2Nvr3dkfG5sPjaAuTBh4VssZrT0Vt4k0nWk7arQKc=; b=IrHmujtixSREpziXoyooinA1hqDFoPkmamg3duJFXT8vdOmnUPySfipDGjTEsiG8bF s1WqeLxIS5daaxUZgiCuqmsWWO8ipgktAUtoeaM+EF5Nnzl6v1otJy7v0t/ELeBj+ltp ydmCgXRCiEi/HEb/bzNF8BMsbKkq2OSvxU+tAGZZhYBqcJbF5jLiZPMiNJRGAKi43qQ+ cQybfmd99Ov3fBerIGXkOwHs9nHingVqu8oO/OmvxNQu7tDgrg2MhKIXo2oHLOMmWKeM oA9emr1lXBkepudObYmLMimFaN/sTQYyz4WUa+u6lHrypCIOy2T1t5OytjqMbudUToJq uvQA==
X-Gm-Message-State: AOJu0Yx02J4RFxgKme3daqgNHAi4nmInWJ7XV/DqWEdJr7xz4TDG1AMn 0CK9x0G1vsLq6G0D8u4B1TVi6V6CcX3P3QfGjiTVzfbO91bsJegnSfA=
X-Google-Smtp-Source: AGHT+IH0ufBUsh61hHs79U4Zj0s0dX38tOKWUN79HXOB2snrLoSDQd7+Hw/hO5KBl8mZp/9S1iq32jeuhwVKcSFbRTw=
X-Received: by 2002:a05:6870:560f:b0:1cc:d892:7bb with SMTP id m15-20020a056870560f00b001ccd89207bbmr1294392oao.8.1694204086618; Fri, 08 Sep 2023 13:14:46 -0700 (PDT)
MIME-Version: 1.0
From: Josh Fischer <josh@joshfischer.io>
Date: Fri, 08 Sep 2023 15:14:30 -0500
Message-ID: <CAFkuAo3gJxM8oWqJoYYj7BFJ=8G4+GvwQExwPevhJPE4FoXvew@mail.gmail.com>
To: txauth@ietf.org
Content-Type: multipart/alternative; boundary="000000000000c2a7d80604dea0fd"
Archived-At: <https://mailarchive.ietf.org/arch/msg/txauth/5iF69NTbLXVwvDr6MQcY_Mzpjyw>
Subject: [GNAP] How to Learn
X-BeenThere: txauth@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: GNAP <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: Fri, 08 Sep 2023 20:14:48 -0000

I'm looking through the most recent draft (15) published on June 26, 2023,
and I've noticed there is a ton to learn about the entire protocol.  I'm
looking to build a minimal open-source implementation of GNAP to understand
it more and how it differs from OAuth.  I thought about working through
either a redirect-based or user-code interaction listed in sections 1.6.2
or 1.6.3.

This is how I ended up learning OAuth, but it was quite tedious.  Does
anyone have a recommendation for learning GNAP in a better way other than
going through the details of the sections I listed above?

** I have seen the open-source examples in the document, thank you for
providing them. But I need to build it myself to deeply understand it.

Thanks!

- Josh