From 89ed681225e8287cb7ca8d5e92b8ec62c1dd990f Mon Sep 17 00:00:00 2001 From: Vika Date: Tue, 19 Jul 2022 05:48:03 +0300 Subject: indieauth: Indicate refresh token grant as supported --- kittybox-rs/src/indieauth/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kittybox-rs/src/indieauth/mod.rs') 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), -- cgit 1.4.1