Implement Redis-based user-info with sliding expiration - Read user data directly from Redis instead of calling SecurityService - Implement sliding session expiration (reset TTL on each read) - Redirect to login site if session expired - Enhanced logging for debugging
FIX ทางวิชาชีพ: ลบจุดปลายที่บริโภค OTK ก่อนเวลาอันควรออกไป
ต้นตอ: - api/valiatedate and /api/validate-otk in kama-login กําลังเรียก รปภ. - นี้บริโภค OTK IMBEDIATEATELY หลังจากล็อกอิน (ก่อนผู้ใช้จะใช้งาน) ปูมบันทึกการรัก...
ข้อผิดพลาดในการแก้ไข: ใช้สถานะการเช็คค่า x
แก้ไขเมื่อ: - แสดงตัวปั่นเอกสารขณะตรวจสอบวาระงาน *** ที่มีอยู่ - ซ่อนแบบฟอร์มล็อกอินระหว่างการตรวจสอบอัตโนมัติ - ให้ข้อมูล UX ที่ดีกว่า (ดู 'วาระงาน'...' ข้อควา...
เพิ่มไลบรารี Redis ที่ขาดหายไปสําหรับ login อัตโนมัติ และล็อกเอาต์เอนด์
การซ่อมแซมผิดพลาด: - สร้างโปรแกรม/ Lib/rediscs โดยมีการอ่าน/ เขียนโปรแกรมช่วยเหลือลูกข่าย Redis - printments ได้รับ redisclient () และได้รับ rediscsClient () - ...
Update logout flow to use direct Redis access
Logout Flow Changes: - /logout (page): DELETE Redis session via /api/logout, forward to login/logout - /api/logout: Direct Redis DELETE (no SecurityService call...
ระบบย่อย SSO ระบบบันทึกอัตโนมัติ และการไหลแบบสมบูรณ์
คุณสมบัติของปูมบันทึกอัตโนมัติ: - ตรวจสอบคุกกี้ที่มีอยู่แล้วบนหน้าล็อกอิน วาระงานตรวจสอบความถูกต้องกับ Redis โดยตรง - หากใช้ได้ ให้สร้างโปรแกรม OTK ตัวใหม่ และเ...
FORCE REBUILD: Add extensive logging to /api/validate (Direct Redis)
Critical Change: - This endpoint does NOT call SecurityService - It queries Redis DIRECTLY for OTK validation - Extensive logging added to trace every step New...
Remove cookie-setting from /validate-otk endpoint
Simplification: - /validate-otk endpoint now only returns *** ID and TTL - No longer sets cookies (Next.js handles this directly) - Added getSessionTtlSeconds()...
Make *** cookie client-accessible & validate OTK directly in Next.js
Major Simplifications: - *** cookie is now client-accessible (httpOnly: false) - Both Next.js and Java can read the cookie directly - Cookie expires in 30 minut...
Reduce *** ID length from 512 to 128 characters
Changes: - ***_ID_LENGTH: 512 -> 128 (64 bytes of entropy) - Updated all documentation and comments - Updated logging to show full 128-char ID - OTK length rema...
Fix build error and change *** length to 128 chars
Build Fixes: - Escape apostrophe in validate page (') - Add searchParams dependency to useEffect *** Length Change: - Update expected *** length from 512 ...
Add comprehensive debugging UI to validate page
- Show component render count and validation attempt count - Display OTK information and length validation - Show retrieved *** ID (512 chars) when successful -...
Increase *** ID length to 512 characters for enhanced security
- *** ID: 512-char hex string (256 bytes of secure random data) - OTK ID: 64-char hex string (32 bytes - unchanged) - Updated generateSecureHexString() to accep...
Fix OTK validation duplicate calls issue
- Add useRef to track validation attempts - Prevent duplicate API calls (critical for one-time keys) - Change useEffect deps to empty array (run once on mount) ...
Update OTK validation to use new *** session model
- Extract ***Id from JSON response body (not Set-Cookie header) - SecurityService now returns { success, message, ***Id } - Set *** cookie with 64-char GUID fro...
Implement new *** session model with 64-char GUID
- Add KSessionService for simplified session management - *** ID is now a 64-char hex string (not encoded KToken) - Redis key format: ***<64-char-guid> - Redis ...
Update password pepper to match KamoInitializerService - Set pepper to 'f09kf32j0sdfsdfd' to ensure password hashing consistency across services
Password hash generator endpoint for testing/admin - POST **************** to create proper PBKDF2 hashes
การจัดการและบันทึกข้อผิดพลาดที่ดีกว่าสําหรับการตอบสนอง API - parase ทั้ง Json และข้อความมีการบันทึกรายละเอียด
Provide specific error messages for account validation failures - Users now see exact reason **************** instead of generic message
แก้ไขรูปแบบการเข้ารหัสการล็อกอินจาก Json ถึง x-www-urlincd เพื่อตรงกับจุดปลายหน่วยรักษาความปลอดภัย
ลบการอนุญาตสิทธิ์การขึ้นต่อกันระหว่างแพกเกจ, สลับไปยังความปลอดภัย
- ลบตรรกะการอนุญาตสิทธิ์แบบซับซ้อน - แทนที่ผู้ให้บริการ OAuth2 ด้วยการตรวจสอบความปลอดภัย API - เก็บปุ่ม OAuth2 สําหรับเครื่องหมายการค้าภาพแบบองค์กรเฉพาะ (ไม่มีก...
Update workflow to use kamowssecurity-deployment instead of securityservice-deployment
Rename SecurityService deployment from securityservice-deployment to kamowssecurity-deployment
Disable Vault and add required parameters to prevent config validation errors
Fix Redis SSL configuration in k8s ConfigMap - add ssl.enabled property to prevent boolean conversion error
Fix Redis SSL configuration in k8s ConfigMap - change from boolean to object with enabled property
Fix Redis SSL configuration - change from boolean to object with enabled property
Fix Redis configuration
- Remove SSL configuration (was causing type conversion error) - Remove password requirement for local redis-slave service - Set host to **************** (local...
Fix database connection settings
- Update database URL to connect to 10.8.0.1:3306 directly - Change username from root to kamo - Update secret reference from root-password to DB_PASSWORD - Rem...
Fix SecurityService deployment configuration
- Update ConfigMap with complete application.yml including database, Redis, and external service configs - Update Deployment to mount ConfigMap as application.y...
เหมือนที่คุณเห็นการขนส่ง?
ทุก คน ที่ ได้ รับ การ ปรับ ปรุง เหล่า นี้ จะ ลง ไป ใน ที่ ทํา งาน ของ คุณ โดย อัตโนมัติ. เริ่มให้อิสระและดูมันเติบโตสัปดาห์แล้วสัปดาห์เล่า.