添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Generate a JWT with ECDSA keys

To generate a JWT signed with the ES256 algorithm and ECDSA keys using the P-256 (secp256k1) curve, you need to use openssl commands or the auth0 library .

This procedure explains how to generate a JWT with openssl commands.

A JWT consists of three parts separated by dots.

Header

Payload

Signature

Take a look at this pseudo code showing how a JWT is constructed: