about summary refs log tree commit diff
path: root/src/indieauth
diff options
context:
space:
mode:
Diffstat (limited to 'src/indieauth')
-rw-r--r--src/indieauth/mod.rs6
1 files changed, 4 insertions, 2 deletions
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<A: AuthBackend, D: Storage + 'static>(
                 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<A: AuthBackend, D: Storage + 'static>(
                 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()
         }
     }