You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let refresh_token = state.refresh_token.clone().ok_or_else(|| anyhow!("Expired token of a public client, without having a refresh token. You will need to re-login."))?;
bail!("Refresh token expired. You need to re-login.");
81
+
}
82
+
}
83
+
}
84
+
64
85
let client = CoreClient::from_provider_metadata(
65
86
provider_metadata,
66
87
ClientId::new(client_id.clone()),
67
88
client_secret.clone().map(ClientSecret::new),
68
89
);
69
90
70
-
let refresh_token= state.refresh_token.clone().ok_or_else(|| anyhow!("Expired token of a public client, without having a refresh token. You will need to re-login."))?;
0 commit comments