From af5e1f33c43d8415caa13c974f37f777534d93f4 Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Wed, 12 Jan 2022 23:36:49 +0800 Subject: [PATCH] update token reponse --- src/oidc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oidc.rs b/src/oidc.rs index c99e29d..f70bf28 100644 --- a/src/oidc.rs +++ b/src/oidc.rs @@ -52,7 +52,7 @@ impl DeviceAuthorizationResponse { #[derive(Clone, Debug, Serialize, Deserialize)] pub struct TokenResponse { pub access_token: String, - pub refresh_token: String, + pub refresh_token: Option, pub scope: Option, pub token_type: String, pub id_token: Option,