Mercurial > prosody-modules
comparison mod_http_oauth2/README.markdown @ 5408:3989c57cc551
mod_http_oauth2: Allow configuring links to policy and terms in metadata
These are for the Authorization Server, here the same as the XMPP
server.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 02 May 2023 17:01:02 +0200 |
parents | b40f29ec391a |
children | 644b2f2b9b52 |
comparison
equal
deleted
inserted
replaced
5407:149634647b48 | 5408:3989c57cc551 |
---|---|
136 "plain"; -- the insecure one | 136 "plain"; -- the insecure one |
137 "S256"; | 137 "S256"; |
138 } | 138 } |
139 ``` | 139 ``` |
140 | 140 |
141 ### Policy documents | |
142 | |
143 Links to Terms of Service and Service Policy documents can be advertised | |
144 for use by OAuth clients: | |
145 | |
146 ```lua | |
147 oauth2_terms_url = "https://example.com/terms-of-service.html" | |
148 oauth2_policy_url = "https://example.com/service-policy.pdf" | |
149 ``` | |
150 | |
141 ## Deployment notes | 151 ## Deployment notes |
142 | 152 |
143 ### Access management | 153 ### Access management |
144 | 154 |
145 This module does not provide an interface for users to manage what they have | 155 This module does not provide an interface for users to manage what they have |