Aryan Iyappan

  • Blog
All Posts
  • python (4)
  • backend (4)
  • fastapi (3)
  • frontend (3)
  • graphql (3)
  • react (2)
  • nextjs (2)
  • typescript (2)
  • relay (2)
  • strawberry-graphql (2)
  • tech-stack (1)
  • http (1)
  • authentication (1)

  • javascript (1)
  • Secure Session Management with JWE/JWS in FastAPI and Next.js

    This article explores secure session management using JWE and JWS in FastAPI and Next.js. Key considerations include balancing security, client-side accessibility, and performance. JWS is recommended for non-sensitive data needing frontend access, while JWE adds encryption for critical use cases. Both methods rely on standardized libraries and secure key management to ensure integrity and confidentiality in decoupled architectures.
    react
    next.js
    fastapi
    backend
    python
    typescript
    frontend
    authentication
    Published on
    March 11, 2025
mailMailgithubGitHublinkedinLinkedinxX
Aryan Iyappan
•
© 2025