Tag

Token Renewal

0 views collected around this technical thread.

Architecture Digest
Architecture Digest
Sep 27, 2023 · Information Security

Understanding JWT Claims and Token Renewal Strategies

This article explains the standard JWT claims, shows how to add custom claims with Java code, and compares single‑token and double‑token renewal approaches, including practical examples such as WeChat web authorization and Redis‑based token storage.

ClaimsJWTOAuth2
0 likes · 6 min read
Understanding JWT Claims and Token Renewal Strategies
Selected Java Interview Questions
Selected Java Interview Questions
Jan 13, 2023 · Backend Development

Implementing Automatic Token Renewal in a Java Backend

This article explains why short-lived JWT tokens need automatic renewal, outlines a Redis‑based solution, and provides complete Spring interceptor and utility code to create, verify, and refresh tokens without forcing users to re‑login frequently.

BackendJWTJava
0 likes · 7 min read
Implementing Automatic Token Renewal in a Java Backend
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 28, 2020 · Information Security

Automatic JWT Token Renewal to Prevent User Re‑Login

This article explains how to automatically renew JWT tokens in a front‑end/back‑end separated system by storing tokens in a cache, checking them in a filter, and refreshing them when expired, thereby preventing frequent logins and preserving form data.

BackendJWTJava
0 likes · 11 min read
Automatic JWT Token Renewal to Prevent User Re‑Login