comparison mod_http_oauth2/README.markdown @ 5545:fcef6263acdb

mod_http_oauth2: Use code spans for some config options in README To make them more recognisable as code things.
author Kim Alvefur <zash@zash.se>
date Sun, 11 Jun 2023 14:02:47 +0200
parents ef1ae6390742
children ae20da6d377d
comparison
equal deleted inserted replaced
5544:cb141088eff0 5545:fcef6263acdb
59 59
60 The module presents a web page to users to allow them to authenticate when 60 The module presents a web page to users to allow them to authenticate when
61 a client requests access. Built-in pages are provided, but you may also theme 61 a client requests access. Built-in pages are provided, but you may also theme
62 or entirely override them. 62 or entirely override them.
63 63
64 This module honours the 'site_name' configuration option that is also used by 64 This module honours the `site_name` configuration option that is also used by
65 a number of other modules: 65 a number of other modules:
66 66
67 ```lua 67 ```lua
68 site_name = "My XMPP Server" 68 site_name = "My XMPP Server"
69 ``` 69 ```
73 ```lua 73 ```lua
74 oauth2_template_path = "/etc/prosody/custom-oauth2-templates" 74 oauth2_template_path = "/etc/prosody/custom-oauth2-templates"
75 ``` 75 ```
76 76
77 Some templates support additional variables, that can be provided by the 77 Some templates support additional variables, that can be provided by the
78 'oauth2_template_style' option: 78 `oauth2_template_style` option:
79 79
80 ```lua 80 ```lua
81 oauth2_template_style = { 81 oauth2_template_style = {
82 background_colour = "#ffffff"; 82 background_colour = "#ffffff";
83 } 83 }