Skip to content

Commit

Permalink
Merge pull request #73 from hd-gmbh-dev/72-keycloak-update-v26
Browse files Browse the repository at this point in the history
update keycloak to v26
  • Loading branch information
jueseitz authored Jan 9, 2025
2 parents 4353f53 + f8b75c8 commit 8296769
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 14 deletions.
24 changes: 17 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ repository = "https://github.com/hd-gmbh-dev/quick-microservice-rs"

[workspace.dependencies]
anyhow = "1.0.93"
async-trait = "0.1.83"
async-trait = "0.1.85"
axum = "0.7.9"
tynm = "0.1.10"
base64 = "0.22.1"
Expand All @@ -25,14 +25,14 @@ chrono = { version="0.4.38", features = ["serde"] }
futures = "0.3.31"
tokio = { version = "1.41.1", features = ["full"] }
tower-http = { version = "0.6.2", features = ["cors"] }
thiserror = "2.0.3"
itertools = "0.13.0"
thiserror = "2.0.9"
itertools = "0.14.0"
envy = "0.4.2"
reqwest = { version = "0.12.9", default-features = false, features = ["json"] }
jsonwebtoken = "9.3.0"
serde = { version = "1.0.215", features = ["derive", "rc"] }
serde_json = "1.0.133"
keycloak = "25.0.200"
serde_json = "1.0.135"
keycloak = "26.0.700"
mongodb = "3.1.0"
lazy_static = "1.5.0"
tracing = "0.1.40"
Expand Down
4 changes: 2 additions & 2 deletions crates/keycloak/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ impl Keycloak {
) -> Result<Vec<UserRepresentation>, KeycloakError> {
self.inner
.admin
.realm_roles_with_role_name_users_get(realm, role_name, None, None)
.realm_roles_with_role_name_users_get(realm, role_name, None, None, None)
.await
.map_err(|e| {
tracing::error!("{e:#?}");
Expand Down Expand Up @@ -471,7 +471,7 @@ impl Keycloak {
Ok(self
.inner
.admin
.realm_roles_with_role_name_users_get(realm, role_name, None, None)
.realm_roles_with_role_name_users_get(realm, role_name, None, None, None)
.await
.map_err(|e| {
tracing::error!("{e:#?}");
Expand Down
1 change: 1 addition & 0 deletions crates/keycloak/src/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ pub struct ParsedAccessToken {
//:"openid profile email",
sid: Option<String>,
//:"cdfaa367-5c30-4142-b31a-f770073e2051",
#[serde(default)]
email_verified: bool,
//:false,
preferred_username: Option<String>, //:"admin"
Expand Down
1 change: 1 addition & 0 deletions crates/keycloak/src/token/jwt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ pub struct Claims {
pub scope: String,
#[serde(default)]
pub sid: String,
#[serde(default)]
pub email_verified: bool,
#[serde(default)]
pub name: String,
Expand Down

0 comments on commit 8296769

Please sign in to comment.