From d4970877b07000e86c3b7bb0d3a30639b6df9fe5 Mon Sep 17 00:00:00 2001 From: JuliDi Date: Fri, 4 Dec 2026 11:47:35 +0100 Subject: [PATCH] fix: bump to axum oidc PR to fix concurrent refresh --- Cargo.lock | 2 +- Cargo.toml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 997ad30..4ac7317 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -187,7 +187,7 @@ dependencies = [ [[package]] name = "axum-oidc" version = "1.0.0-dev-2" -source = "git+https://codeberg.org/pfzetto/axum-oidc.git?rev=c356510de72df9f4ecbf6aed53abc3e5ddc024b4#c356510de72df9f4ecbf6aed53abc3e5ddc024b4" +source = "git+https://codeberg.org/pfzetto/axum-oidc.git?rev=f847879398d6b51240e5acbe081238e5bf90da0d#f847879398d6b51240e5acbe081238e5bf90da0d" dependencies = [ "arc-swap", "axum", diff --git a/Cargo.toml b/Cargo.toml index d19018f..c3d5832 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,9 +32,9 @@ secrecy = { version = "0.10.3", optional = true, features = [ "serde" ] } # bff axum = { version = "0.8.9", optional = true } -# Fork: absorbs a refused refresh token instead of erroring, and does not clear -# the session when it does. Back to crates.io once that is released upstream. -axum-oidc = { git = "https://codeberg.org/pfzetto/axum-oidc.git", rev = "dcc3094060072d2c768788b0ff5a95258465ea77", optional = true } +# Fix for concurrent refreshing https://codeberg.org/pfzetto/axum-oidc/pulls/60 +# Back to crates.io once that is released upstream. +axum-oidc = { git = "https://codeberg.org/pfzetto/axum-oidc.git", rev = "f847879398d6b51240e5acbe081238e5bf90da0d", optional = true } time = { version = "0.3.55", optional = true } tower = { version = "0.5.3", optional = true } tower-http = { version = "0.7.0", optional = true, features = [ "csrf" ] }