JWT Expiration, Rotation, and Revocation: A Lifecycle Guide
Learn how to manage JWT expiration, rotation, and revocation effectively to secure your application's token lifecycle.
Tag
Read 15 articles on Web Security by Ashish Srivastava — practical guides covering implementation patterns, security, and production lessons.
15 posts
Learn how to manage JWT expiration, rotation, and revocation effectively to secure your application's token lifecycle.
Learn how to secure identity applications with HTTP Strict Transport Security (HSTS) and Spring Boot configurations to enforce HTTPS.
Placing identity tokens in URL parameters creates significant security vulnerabilities. This guide examines token leakage risks via referrer headers and outlines necessary remediation strategies.
Learn how to implement OpenID Connect across full-stack applications using Angular for the frontend and Spring Boot for the backend.
Learn how to identify and remediate missing authentication flaws in web applications using security scanners and proper Spring Security configurations.
Learn how to identify and fix CWE-287 improper authentication flaws using OWASP standards and practical security implementation strategies.
Explore the mechanics of browser cookies in SSO environments, including SameSite policies, third-party restrictions, and security implications for cross-domain authentication.
Part 3 · Web Security & Authentication ArchitectureExplore how to implement effective security in micro-frontend architectures using OIDC and token isolation mechanisms.
Part 3 · Frontend Security ArchitectureLearn how to secure identity applications using CSP headers to mitigate XSS vulnerabilities and enhance web security posture.
Learn how to secure your web applications with proper CORS configuration, handle preflight requests effectively, and resolve common cross-origin errors in Spring.
Explore essential web session security strategies, including the implementation of HttpOnly, SameSite, and JWT tokens to prevent session fixation and unauthorized access.
Learn how to migrate your application to Spring Security 6 and Spring Boot 3 with a focus on Jakarta EE compatibility and essential security changes.
Part 11 · Spring Security Deep Dive SeriesLearn how to properly configure Spring Security CORS and CSRF for SPAs, ensuring secure communication between frontend frameworks like Angular and backend services.
Part 9 · Spring Security Deep Dive SeriesExplore how WebAuthn enables browser biometrics like Face ID and Touch ID to secure web applications beyond traditional passwords.
Part 5 · Passwordless & Next-Gen Authentication SeriesExplore how FIDO2 and WebAuthn enable phishing-resistant authentication, replacing vulnerable passwords with secure passkeys and authenticators.
Part 3 · Passwordless & Next-Gen Authentication Series