Photo by ika ika on Unsplash

  • Authentication in NestJS

    NestJS authentication is built from guards: one checks a password and issues a token, another verifies that token on every later request. This chapter wires Passport's local and JWT strategies into a Nest app, then protects every route by default with a global guard and a @Public() opt-out.

    · Server Development / NestJS / Security

  • JWT, JWS, JWE, and JOSE

    JOSE is the specification family for signing and encrypting a set of claims in a URL-safe token. This page separates JWT, JWS, JWE, and JWK, shows how the compact forms are assembled, and lists the checks a recipient makes before trusting those claims.

    · Open Standards and Concepts / Authentication / General

Search articles

Type a word to search published articles.

Open the search page