diff options
author | Vika <vika@fireburn.ru> | 2022-07-19 05:48:03 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2022-07-19 05:48:03 +0300 |
commit | 89ed681225e8287cb7ca8d5e92b8ec62c1dd990f (patch) | |
tree | 4d6c5ed20dbe52ee66d24bc003662e8254fae784 /kittybox-rs/src | |
parent | 12c96ceaeaabe0aa7d0d2c70497886d9a5610f10 (diff) | |
download | kittybox-89ed681225e8287cb7ca8d5e92b8ec62c1dd990f.tar.zst |
indieauth: Indicate refresh token grant as supported
Diffstat (limited to 'kittybox-rs/src')
-rw-r--r-- | kittybox-rs/src/indieauth/mod.rs | 2 |
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), |