Tagged articles
qr-code-login
18 articles · Page 1 of 1
This chapter from "Architecture Fundamentals: From Requirements to Architecture" dissects login system design, separating authentication, session management, and authorization, covering multi-factor methods, SSO, OAuth 2.0, QR-code login, multi-device sessions, and a practical design checklist with common pitfalls.
AuthenticationOAuth2SSO
0 likes · 9 min read

This article details a production-ready QR code login implementation using Spring Boot, covering state machine design with Redis and Lua for atomic transitions, SSE for low-latency status push with polling fallback, HMAC-SHA256 with nonce for replay protection, and Redis Pub/Sub for cross-instance consistency in clustered deployments.
Lua ScriptsRedisSSE
0 likes · 28 min read

This tutorial walks through designing a QR‑code login flow, defining a token table, outlining client and server roles, implementing two REST endpoints, configuring Spring Boot WebSocket support, and handling real‑time login notifications with Java and JavaScript code examples.
JavaJavaScriptREST API
0 likes · 13 min read

This guide walks you through creating a full-featured QR code login demo using Spring Boot, WebSocket, and Redis, covering backend services, frontend pages, project structure, code snippets, deployment steps, and security best practices for a seamless login experience.
BackendRedisWebSocket
0 likes · 36 min read

This article explains how to design a QR‑code login flow, create the necessary database table, define the required APIs, and integrate front‑end JavaScript with a Spring Boot back‑end using WebSocket to notify the client of successful authentication.
BackendJavaSpring Boot
0 likes · 13 min read

This article walks through the requirements, backend API design, and front‑end implementation—including TypeScript code snippets—for a QR‑code login system where the code expires after two minutes, users confirm login on mobile, and the web client polls for status updates.
API DesignAuthenticationPolling
0 likes · 8 min read

Learn how to build a QR‑code login system using Spring Boot and WebSocket, covering database design, role analysis, API creation, front‑end integration, and full Java code examples for generating QR images, handling socket communication, and validating tokens with expiration logic.
JavaSpring BootWebSocket
0 likes · 13 min read

This guide walks through designing a User_Token table, defining roles and APIs, implementing QR‑code generation and validation endpoints, and wiring a Spring Boot WebSocket server with front‑end AJAX to achieve secure, real‑time QR‑code login for Android, web and PC clients.
AuthenticationJavaSpring Boot
0 likes · 14 min read

This article explains the underlying mechanism of front‑end QR‑code login, detailing the roles of the PC page, mobile device, and server, and walks through the step‑by‑step process from generating the QR code to confirming login and issuing a token.
Authenticationclient‑serverqr-code-login
0 likes · 3 min read

This article walks through building a QR‑code based login system using Spring Boot, detailing database design, role analysis, required APIs, step‑by‑step implementation, and full Java and JavaScript code for generating QR codes, handling WebSocket communication, and confirming user authentication.
APIJavaSpring Boot
0 likes · 12 min read

This article demonstrates how to build a QR‑code based login system using Spring Boot, MySQL, and WebSocket, covering database design, role definition, API creation, front‑end image handling, and real‑time authentication notification through server‑push messages.
JavaReal-time authenticationSpring Boot
0 likes · 13 min read

This article explains how to build a QR‑code based login system by designing a token table, defining roles, creating two REST APIs (generate QR code and confirm identity), and integrating front‑end JavaScript with a Spring Boot WebSocket server, complete with full code examples and step‑by‑step instructions.
JavaJavaScriptSpring Boot
0 likes · 13 min read

This article explains how to build a QR code login feature for web applications by coordinating mobile and web servers, generating UUIDs, storing temporary data in Redis, and polling for authentication, providing a practical step‑by‑step guide with diagrams.
RedisWeChatWeb Authentication
0 likes · 5 min read

This article explains the QR code login process, detailing how a web page requests a QR code, how the mobile app scans it, exchanges tokens via Redis, and ultimately authenticates the user across web and mobile platforms.
AuthenticationRedismobile integration
0 likes · 5 min read

This article explains the technical principles and step‑by‑step implementation of QR‑code login, covering both the web‑client and server sides, with detailed examples from WeChat and Taobao, including request flows, Redis usage, token handling, and JavaScript code snippets.
JavaScriptTaobaoWeChat
0 likes · 11 min read

This article explains the technical principles behind QR code login, detailing the client‑server interaction, UUID generation, Redis storage, long‑polling, and token handling, and illustrates the implementation with real‑world examples from Taobao and WeChat, including code snippets and flow diagrams.
JSONPJavaScriptRedis
0 likes · 13 min read

This article explains the QR‑code login process, detailing how the web front‑end, server, Redis store, and mobile application cooperate to generate a QR code, verify the scan, and complete user authentication using tokens and UUIDs.
AuthenticationBackendRedis
0 likes · 5 min read

This article explains the architecture and step‑by‑step workflow of QR code login, covering how the web front‑end, mobile client, and server (including Redis storage and token verification) cooperate to generate a QR code, poll for authentication, and complete a secure user login.
AuthenticationRedismobile
0 likes · 7 min read
