about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2024-08-18 00:15:55 +0300
committerVika <vika@fireburn.ru>2024-08-18 00:27:53 +0300
commit193d1cd7ba3b8b4226d76045bf5b66ed8daa9524 (patch)
treea4b9eab7e378521eee25ab91c3519c28ab143ba0 /src
parentf5587c32d42c8b0ce591affd2ef5d7a30c24257f (diff)
downloadkittybox-193d1cd7ba3b8b4226d76045bf5b66ed8daa9524.tar.zst
kittybox-indieauth: support OAuth2 Client Metadata
Required for new revision of IndieAuth.
Diffstat (limited to 'src')
-rw-r--r--src/indieauth/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/indieauth/mod.rs b/src/indieauth/mod.rs
index c09b426..9f35ed0 100644
--- a/src/indieauth/mod.rs
+++ b/src/indieauth/mod.rs
@@ -135,6 +135,7 @@ pub async fn metadata(
         code_challenge_methods_supported: vec![PKCEMethod::S256],
         authorization_response_iss_parameter_supported: Some(true),
         userinfo_endpoint: Some(indieauth.join("userinfo").unwrap()),
+        client_id_metadata_document_supported: true,
     }
 }