From d4d90dd539763020f7331e4c525cd72176d6b07a Mon Sep 17 00:00:00 2001 From: Aleksander <170264518+t-aleksander@users.noreply.github.com> Date: Mon, 18 Nov 2024 15:36:02 +0100 Subject: [PATCH 1/2] change cookies name --- src/enterprise/handlers/openid_login.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/enterprise/handlers/openid_login.rs b/src/enterprise/handlers/openid_login.rs index cdf07d89..1fc0d4ea 100644 --- a/src/enterprise/handlers/openid_login.rs +++ b/src/enterprise/handlers/openid_login.rs @@ -20,8 +20,8 @@ use crate::{ }; const COOKIE_MAX_AGE: Duration = Duration::days(1); -static CSRF_COOKIE_NAME: &str = "csrf"; -static NONCE_COOKIE_NAME: &str = "nonce"; +static CSRF_COOKIE_NAME: &str = "csrf_proxy"; +static NONCE_COOKIE_NAME: &str = "nonce_proxy"; pub(crate) fn router() -> Router { Router::new() From 52d07cf39ea646e91f543fa112d44a73aa01a8e7 Mon Sep 17 00:00:00 2001 From: Aleksander <170264518+t-aleksander@users.noreply.github.com> Date: Tue, 19 Nov 2024 12:28:36 +0100 Subject: [PATCH 2/2] bump version --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 498787a5..c8bc4e32 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -531,7 +531,7 @@ dependencies = [ [[package]] name = "defguard-proxy" -version = "1.0.0" +version = "1.1.0" dependencies = [ "anyhow", "axum", diff --git a/Cargo.toml b/Cargo.toml index 8edcfde7..bd5a50dc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "defguard-proxy" -version = "1.0.0" +version = "1.1.0" edition = "2021" license = "Apache-2.0" homepage = "https://github.com/DefGuard/proxy"