Mercurial > prosody-modules
comparison mod_http_oauth2/README.markdown @ 5614:7565298aa197
mod_http_oauth2: Allow a shorter form of the device grant in config
Long URI is long
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 21 Jul 2023 00:37:34 +0200 |
parents | a9682cad0e67 |
children | 308b5b117379 |
comparison
equal
deleted
inserted
replaced
5613:a9682cad0e67 | 5614:7565298aa197 |
---|---|
222 | 222 |
223 ```lua | 223 ```lua |
224 -- These examples reflect the defaults | 224 -- These examples reflect the defaults |
225 allowed_oauth2_grant_types = { | 225 allowed_oauth2_grant_types = { |
226 "authorization_code"; -- authorization code grant | 226 "authorization_code"; -- authorization code grant |
227 "urn:ietf:params:oauth:grant-type:device_code"; | 227 "device_code"; |
228 "password"; -- resource owner password grant | 228 "password"; -- resource owner password grant |
229 } | 229 } |
230 | 230 |
231 allowed_oauth2_response_types = { | 231 allowed_oauth2_response_types = { |
232 "code"; -- authorization code flow | 232 "code"; -- authorization code flow |