Skip to content

Commit ae6a491

Browse files
loispostulactron
authored andcommitted
fix: fix examples
1 parent d9b0b79 commit ae6a491

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

yew-oauth2-example/src/components/use_auth.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ fn dummy() -> Authentication {
1818
Authentication {
1919
access_token: "".to_string(),
2020
refresh_token: None,
21+
id_token: None,
2122
#[cfg(feature = "openid")]
2223
claims: None,
2324
expires: None,

yew-oauth2-redirect-example/src/components/use_auth.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ impl UseAuthenticationProperties for Props {
1717
fn dummy() -> Authentication {
1818
Authentication {
1919
access_token: "".to_string(),
20+
id_token: None,
2021
refresh_token: None,
2122
#[cfg(feature = "openid")]
2223
claims: None,

0 commit comments

Comments
 (0)