Systems and methods for stateless authentication and authorization using JWT access tokens

    公开(公告)号:US12101307B2

    公开(公告)日:2024-09-24

    申请号:US17829238

    申请日:2022-05-31

    CPC classification number: H04L63/0807 H04L9/3247 H04L63/10 H04L67/02

    Abstract: Systems and methods for secure stateless client-server communication. User credentials in a client authorization request are authenticated and used to generate a JSON web token (JWT). The JWT header and signature are encrypted and included in an HTTP-only cookie. The JWT payload is encrypted and sent to the client in a response body along with the HTTP-only cookie. Each subsequent client request includes the cookie and has the encrypted JWT payload in the request header. Upon receiving the request, the server decrypts the encrypted JWT payload from the header and decrypts the encrypted JWT header and signature from the cookie, then reconstructs the JWT from the JWT header, payload and signature. The server validates the JWT and, if valid, processes the request according to authorizations in the JWT payload.

    Systems and methods for stateless authentication and authorization using JWT access tokens

    公开(公告)号:US12177352B2

    公开(公告)日:2024-12-24

    申请号:US17829237

    申请日:2022-05-31

    Abstract: Systems and methods for secure stateless client-server communication. User credentials in a client authorization request are authenticated and used to generate a JSON web token (JWT). The JWT header and signature are encrypted and included in an HTTP-only cookie. The JWT payload is encrypted and sent to the client in a response body along with the HTTP-only cookie. Each subsequent client request includes the cookie and has the encrypted JWT payload in the request header. Upon receiving the request, the server decrypts the encrypted JWT payload from the header and decrypts the encrypted JWT header and signature from the cookie, then reconstructs the JWT from the JWT header, payload and signature. The server validates the JWT and, if valid, processes the request according to authorizations in the JWT payload.

Patent Agency Ranking