diff --git a/school_lend_back_end/pom.xml b/school_lend_back_end/pom.xml
index 677ef1d..78315ee 100644
--- a/school_lend_back_end/pom.xml
+++ b/school_lend_back_end/pom.xml
@@ -105,6 +105,16 @@
lombok
1.18.30
+
+
+
+ org.springframework.boot
+ spring-boot-starter-data-redis
+
+
+ org.springframework.session
+ spring-session-data-redis
+
diff --git a/school_lend_back_end/src/main/resources/application.yml b/school_lend_back_end/src/main/resources/application.yml
index 554ab35..afe1def 100644
--- a/school_lend_back_end/src/main/resources/application.yml
+++ b/school_lend_back_end/src/main/resources/application.yml
@@ -29,6 +29,10 @@ server:
port: 9999
servlet:
context-path: /api
+ session:
+ cookie.sameSite: None
+ cookie.secure: true
+ cookie.httpOnly: true
mybatis-plus:
configuration:
map-underscore-to-camel-case: false