mod_http_oauth2/README.markdown
changeset 5420 2393dbae51ed
parent 5414 644b2f2b9b52
child 5468 2a11f590c5c8
equal deleted inserted replaced
5419:f8797e3284ff 5420:2393dbae51ed
    96 
    96 
    97 To allow users to connect any compatible software, you should enable dynamic
    97 To allow users to connect any compatible software, you should enable dynamic
    98 client registration.
    98 client registration.
    99 
    99 
   100 Dynamic client registration can be enabled by configuring a JWT key. Algorithm
   100 Dynamic client registration can be enabled by configuring a JWT key. Algorithm
   101 defaults to *HS256*.
   101 defaults to *HS256* lifetime defaults to forever.
   102 
   102 
   103 ```lua
   103 ```lua
   104 oauth2_registration_key = "securely generated JWT key here"
   104 oauth2_registration_key = "securely generated JWT key here"
   105 oauth2_registration_algorithm = "HS256"
   105 oauth2_registration_algorithm = "HS256"
   106 oauth2_registration_options = { default_ttl = 60 * 60 * 24 * 90 }
   106 oauth2_registration_ttl = nil -- unlimited by default
   107 ```
   107 ```
   108 
   108 
   109 ### Supported flows
   109 ### Supported flows
   110 
   110 
   111 Various flows can be disabled and enabled with
   111 Various flows can be disabled and enabled with