Software /
code /
prosody-modules
Changeset
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 |
parents | 6323:4f9b42c53d0f |
children | 6325:6ea80b73d8f2 |
files | mod_http_oauth2/mod_http_oauth2.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
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" });