about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2022-07-19 05:48:03 +0300
committerVika <vika@fireburn.ru>2022-07-19 05:48:03 +0300
commit89ed681225e8287cb7ca8d5e92b8ec62c1dd990f (patch)
tree4d6c5ed20dbe52ee66d24bc003662e8254fae784
parent12c96ceaeaabe0aa7d0d2c70497886d9a5610f10 (diff)
downloadkittybox-89ed681225e8287cb7ca8d5e92b8ec62c1dd990f.tar.zst
indieauth: Indicate refresh token grant as supported
-rw-r--r--kittybox-rs/src/indieauth/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/kittybox-rs/src/indieauth/mod.rs b/kittybox-rs/src/indieauth/mod.rs
index 2c15e72..12c9bab 100644
--- a/kittybox-rs/src/indieauth/mod.rs
+++ b/kittybox-rs/src/indieauth/mod.rs
@@ -44,7 +44,7 @@ pub async fn metadata(
             Scope::Profile
         ]),
         response_types_supported: Some(vec![ResponseType::Code]),
-        grant_types_supported: Some(vec![GrantType::AuthorizationCode]),
+        grant_types_supported: Some(vec![GrantType::AuthorizationCode, GrantType::RefreshToken]),
         service_documentation: None,
         code_challenge_methods_supported: vec![PKCEMethod::S256],
         authorization_response_iss_parameter_supported: Some(true),