Tagged articles
QR Login
17 articles · Page 1 of 1
The article walks through building a secure QR‑code login flow with Spring Boot, explaining why the QR should contain only a short‑lived random identifier, how to model four login states in Redis, avoid embedding JWTs, use WebSocket for instant updates, and enforce strict one‑time exchange checks.
JavaQR LoginRedis
0 likes · 13 min read

This tutorial walks through building a Python script that fetches a QQ Music QR code, displays it locally, monitors its status, extracts required encrypted parameters from cookies, and completes the login process by repeatedly polling the authentication endpoint to obtain a session.
QR Loginautomationqq music
0 likes · 13 min read

This article walks through the complete process of implementing WeChat QR code login using a Java Spring Boot backend, covering prerequisite configuration, Maven dependencies, configuration classes, QR code generation, callback handling, session storage in Redis, and frontend integration.
JavaOAuthQR Login
0 likes · 7 min read

This article analyzes why an iOS SSO QR‑code login sometimes fails with a 404 error despite being on company Wi‑Fi, explains the 301 redirect caused by network restrictions, and provides a step‑by‑step solution using NSURLCache inspection and cache‑clearing techniques.
Cache ManagementHTTP redirectNSURLCache
0 likes · 9 min read

This article explains how to implement WeChat QR code login using OAuth2.0 in a Spring Boot backend, detailing the authorization flow, required configuration, code examples for obtaining access tokens, user authentication, Spring AOP login verification, and exception handling to securely integrate WeChat login into a Java application.
OAuth2QR LoginSecurity
0 likes · 11 min read

This guide walks through configuring Enterprise WeChat QR code authentication in a Spring Security OAuth2 application, covering environment setup, application registration, custom OAuth2 request handling, token exchange, user‑info retrieval, and final authentication handling while highlighting common pitfalls and required code snippets.
Enterprise WeChatJavaOAuth2
0 likes · 9 min read

This guide explains the complete WeChat OAuth2.0 QR code login flow, from requesting the authorization code and exchanging it for an access token to configuring Spring Boot beans, handling callbacks, storing tokens securely, and enforcing login checks with Spring AOP.
Backend IntegrationJavaOAuth2
0 likes · 12 min read

This tutorial demonstrates how to programmatically obtain a QQ Music QR‑code login session using Python by fetching the QR image, extracting and decrypting the required cookies, handling dynamic parameters, and completing the login flow with detailed code examples and explanations.
PythonQR LoginSession
0 likes · 12 min read

This article explains how to build a QR‑code based login system using Spring Boot, WebSocket, and JavaScript, covering database design, role analysis, API definitions, step‑by‑step implementation, and complete code examples for both backend and frontend components.
JavaQR LoginSpring Boot
0 likes · 13 min read

This tutorial walks through designing a QR‑code login flow using Spring Boot, detailing the required database schema, roles, API endpoints, server‑side WebSocket setup, and front‑end JavaScript to fetch the QR image, extract the UUID, and establish a real‑time connection for authentication.
QR LoginWebSocketspring-boot
0 likes · 12 min read

This article explains the complete technical workflow of QR‑code login, covering the generation of UUIDs, Redis storage, browser polling, mobile‑side verification, token handling, and detailed implementations in Taobao and WeChat, while also providing code snippets and diagrams for reference.
QR LoginRedisfrontend
0 likes · 13 min read

This article explains the end‑to‑end implementation of QR‑code login, covering how a web page requests a QR image, how the server stores a UUID in Redis, how a mobile app scans the code and validates the user, and how the browser finally receives a token to complete authentication.
QR LoginRedisWeb Authentication
0 likes · 5 min read


ITPUBApr 30, 2020 · Backend Development
This article explains the technical principles and step‑by‑step implementation of QR code login used by major platforms like WeChat and Taobao, covering server‑side UUID generation, Redis storage, token exchange, client polling, JSONP handling, and concrete code examples.
JSONPJavaScriptQR Login
0 likes · 13 min read


21CTOFeb 14, 2020 · Backend Development
This article explains the technical workflow of QR code login, covering the generation of UUIDs, QR images, server‑side Redis storage, mobile‑side token verification, long‑polling mechanisms, and the concrete implementations used by WeChat and Taobao, providing a complete reference for developers building similar authentication features.
Long PollingQR LoginRedis
0 likes · 16 min read

This article explains the technical principles behind QR code login, detailing the interaction between web, mobile, and server components, and provides concrete implementation examples from Taobao and WeChat, including code snippets, request flows, and handling of various response states.
JavaScriptQR LoginTaobao
0 likes · 14 min read

This article explains the technical principles behind QR‑code login, detailing the end‑to‑end workflow between browsers, mobile apps and servers, and provides concrete implementations from Taobao and WeChat, including code snippets, polling mechanisms, Redis usage, and error handling.
AuthenticationJavaScriptQR Login
0 likes · 11 min read

This tutorial explains how to build a WeChat QR‑code login system using Spring‑Boot, Thymeleaf, HttpClient and JSON, covering preparation steps, project configuration, OAuth2 flow, code examples for generating QR pages, handling callbacks, and customizing the login experience.
JavaOAuth2QR Login
0 likes · 10 min read
