Diff

mod_http_oauth2/mod_http_oauth2.lua @ 6324:5dc4ec836ce2

mod_http_oauth2: Comment on origin of a constant URI
author Kim Alvefur <zash@zash.se>
date Thu, 03 Jul 2025 15:34:57 +0200
parent 6323:4f9b42c53d0f
child 6325:6ea80b73d8f2
line wrap: on
line diff
--- a/mod_http_oauth2/mod_http_oauth2.lua	Thu Jul 03 15:34:42 2025 +0200
+++ b/mod_http_oauth2/mod_http_oauth2.lua	Thu Jul 03 15:34:57 2025 +0200
@@ -282,6 +282,8 @@
 -- code to the user for them to copy-paste into the client, which can then
 -- continue as if it received it via redirect.
 local oob_uri = "urn:ietf:wg:oauth:2.0:oob";
+
+-- RFC 8628 OAuth 2.0 Device Authorization Grant
 local device_uri = "urn:ietf:params:oauth:grant-type:device_code";
 
 local loopbacks = set.new({ "localhost", "127.0.0.1", "::1" });