Software /
code /
prosody-modules
Comparison
mod_http_oauth2/README.markdown @ 5620:a9682cad0e67
mod_http_oauth2: Mention Device flow in list of flows in README
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 21 Jul 2023 00:29:24 +0200 |
parent | 5596:7040d0772758 |
child | 5621:7565298aa197 |
comparison
equal
deleted
inserted
replaced
5619:2e30af180da5 | 5620:a9682cad0e67 |
---|---|
210 ``` | 210 ``` |
211 | 211 |
212 ### Supported flows | 212 ### Supported flows |
213 | 213 |
214 - Authorization Code grant, optionally with Proof Key for Code Exchange | 214 - Authorization Code grant, optionally with Proof Key for Code Exchange |
215 - Device Authorization Grant | |
215 - Resource owner password grant | 216 - Resource owner password grant |
216 - Implicit flow *(disabled by default)* | 217 - Implicit flow *(disabled by default)* |
217 - Refresh Token grants | 218 - Refresh Token grants |
218 | 219 |
219 Various flows can be disabled and enabled with | 220 Various flows can be disabled and enabled with |
221 | 222 |
222 ```lua | 223 ```lua |
223 -- These examples reflect the defaults | 224 -- These examples reflect the defaults |
224 allowed_oauth2_grant_types = { | 225 allowed_oauth2_grant_types = { |
225 "authorization_code"; -- authorization code grant | 226 "authorization_code"; -- authorization code grant |
227 "urn:ietf:params:oauth:grant-type:device_code"; | |
226 "password"; -- resource owner password grant | 228 "password"; -- resource owner password grant |
227 } | 229 } |
228 | 230 |
229 allowed_oauth2_response_types = { | 231 allowed_oauth2_response_types = { |
230 "code"; -- authorization code flow | 232 "code"; -- authorization code flow |