Skip to content

Commit

Permalink
Update docs/docs/guides/tutorials/nextjs.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: lfleischmann <[email protected]>
  • Loading branch information
Esther-Lita and lfleischmann authored Sep 17, 2023
1 parent f4be114 commit 4998683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/guides/tutorials/nextjs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ The JWT is signed by Hanko and to secure our app we still need to verify the JWT
> **What are JWTs?** > _A JSON Web Token (JWT) is a compact and self-contained way for transmitting information between parties as a JSON object in a secure way. The purpose of a JWT is to ensure the authenticity of the data._
Hanko handles the authentication and signing of the JWT, on successful authentication with Hanko a cookie, which contains said JWT as its value, is set. we don’t really need to know a lot about them but it’s worth getting familiar with the parts of a JWT (header, payload and signature), and what is a [JWKS](https://auth0.com/docs/secure/tokens/json-web-tokens/json-web-key-sets), for more information you can visit [JWT.io](https://jwt.io/).
Hanko handles the authentication and signing of the JWT. On successful authentication with Hanko a cookie, which contains said JWT as its value, is set. We don’t really need to know a lot about JWTs, but it’s worth getting familiar with the parts of a JWT (header, payload and signature), and with what a [JWKS](https://auth0.com/docs/secure/tokens/json-web-tokens/json-web-key-sets) is. For more information you can visit [JWT.io](https://jwt.io/).
To verify the JWT we need to install the `jose-jwt` package:
Expand Down

0 comments on commit 4998683

Please sign in to comment.