From 644e19aa08b2629d4b69281e14d702f0b9673687 Mon Sep 17 00:00:00 2001 From: Vika Date: Tue, 9 Jul 2024 01:52:53 +0300 Subject: kittybox-indieauth: 0.1.0 -> 0.2.0 Added fundamental AutoAuth types. This library can now be used to augment existing authorization and token endpoints with AutoAuth capabilities. See https://github.com/sknebel/AutoAuth/blob/master/AutoAuth.md for the latest spec draft. --- src/indieauth/mod.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/indieauth/mod.rs b/src/indieauth/mod.rs index def9dfc..811bec6 100644 --- a/src/indieauth/mod.rs +++ b/src/indieauth/mod.rs @@ -559,7 +559,8 @@ async fn token_endpoint_post( token_type: kittybox_indieauth::TokenType::Bearer, scope: Some(scope), expires_in: Some(ACCESS_TOKEN_VALIDITY), - refresh_token: Some(refresh_token) + refresh_token: Some(refresh_token), + state: None }.into_response() }, GrantRequest::RefreshToken { @@ -653,7 +654,8 @@ async fn token_endpoint_post( token_type: kittybox_indieauth::TokenType::Bearer, scope: Some(scope), expires_in: Some(ACCESS_TOKEN_VALIDITY), - refresh_token: Some(refresh_token) + refresh_token: Some(refresh_token), + state: None }.into_response() } } -- cgit 1.4.1