Diff

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
parent 5384:b40f29ec391a
child 5410:644b2f2b9b52
line wrap: on
line diff
--- a/mod_http_oauth2/README.markdown	Tue May 02 16:39:32 2023 +0200
+++ b/mod_http_oauth2/README.markdown	Tue May 02 17:01:02 2023 +0200
@@ -138,6 +138,16 @@
 }
 ```
 
+### Policy documents
+
+Links to Terms of Service and Service Policy documents can be advertised
+for use by OAuth clients:
+
+```lua
+oauth2_terms_url = "https://example.com/terms-of-service.html"
+oauth2_policy_url = "https://example.com/service-policy.pdf"
+```
+
 ## Deployment notes
 
 ### Access management