Skip to content

Commit

Permalink
Merge pull request #9 from Authress/add-logout
Browse files Browse the repository at this point in the history
Fix issuer resolution.
  • Loading branch information
wparad authored Dec 24, 2023
2 parents 56adc33 + b12a5d5 commit 4324f98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/server/authentication.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ impl SignatureKey {
aud: "localhost".to_owned(),
exp: usize::try_from(chrono::offset::Local::now().add(Duration::days(1)).timestamp()).unwrap(),
iat: usize::try_from(chrono::offset::Local::now().timestamp()).unwrap(),
iss: format!("https//{host}"),
iss: format!("http://{host}"),
sub: "me".to_owned(),
..Default::default()
};
Expand All @@ -110,7 +110,7 @@ impl SignatureKey {
aud: "localhost".to_owned(),
exp: usize::try_from(chrono::offset::Local::now().add(Duration::days(1)).timestamp()).unwrap(),
iat: usize::try_from(chrono::offset::Local::now().timestamp()).unwrap(),
iss: format!("https//{host}"),
iss: format!("http://{host}"),
sub: "me".to_owned(),
email: Some("me@local.com".to_owned()),
name: Some("Current Test User".to_owned()),
Expand Down

0 comments on commit 4324f98

Please sign in to comment.