Input the public key
Require JWT for all requests
Encode and verify JWT using the debugger
Field | Description | Example |
---|---|---|
alg | The signing algorithm being used | RS256 |
typ | The type of the token | JWT |
kid | The key id copied from Chainbase | XXX |
Field | Description | Example |
---|---|---|
aud | The audience of this JWT | chainbase.com |
exp | The expiry time. Unix timestamp format. | 1690523501 |
-H "Authorization: Bearer
entry.
Q: Which APIs are JWT supported on? A: JWT is supported on all Chainbase API services.
Q: How do I discard a JWT before it expires? A: If your JWT might have been exposed and you want to prevent it from being used, you can remove the public key from the security tab.
Q: Can I add multiple JWTs to a project? A: Yes. If multiple JWTs are active, the request should only match one of the available keys to succeed. Chainbase now supports up to 3 keys.
Q: Which cipher does Chanbase support? A: RSA 256 (RS256) is supported at this time.
Q: What expiration date should I choose? A: You can set any expiration date in the future you’d like. Generally, the shorter the expiration time, the more secure your JWT is.