comparison mod_http_oauth2/README.markdown @ 5642:7c105277a9ca

mod_http_oauth2: Remove broken in-CSS templating Because util.interpolation with a "%b{}" pattern only matches the outer brackets, so variables inside them would not work unless the pattern is changed (also considered).
author Kim Alvefur <zash@zash.se>
date Sun, 27 Aug 2023 09:49:35 +0200
parents f3b7e05c74a9
children 23f336cec200
comparison
equal deleted inserted replaced
5641:9ce8ee530438 5642:7c105277a9ca
74 74
75 To provide custom templates, specify the path to the template directory: 75 To provide custom templates, specify the path to the template directory:
76 76
77 ```lua 77 ```lua
78 oauth2_template_path = "/etc/prosody/custom-oauth2-templates" 78 oauth2_template_path = "/etc/prosody/custom-oauth2-templates"
79 ```
80
81 Some templates support additional variables, that can be provided by the
82 `oauth2_template_style` option:
83
84 ```lua
85 oauth2_template_style = {
86 background_colour = "#ffffff";
87 }
88 ``` 79 ```
89 80
90 If you know what features your templates use use you can adjust the 81 If you know what features your templates use use you can adjust the
91 `Content-Security-Policy` header to only allow what is needed: 82 `Content-Security-Policy` header to only allow what is needed:
92 83