Difference between revisions of "JSON Web Token (JWT)"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
(32 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[wikipedia:JWT]]
+
[[wikipedia:JSON Web Token]] (2010)
 +
* Structure: <code>[[Header]], [[Payload]], [[Signature]] </code>
  
 +
Key - Description
 +
alg - The encryption algorithm you used to encrypt the token. APNs supports only the ES256 algorithm, so set the value of this key to ES256.
 +
kid - The 10-character Key ID you obtained from your developer account; see Obtain an Encryption Key and Key ID from Apple.
 +
iss - The issuer key, the value for which is the 10-character Team ID you use for developing your company’s apps. Obtain this value from your developer account.
 +
iat - The “issued at” time, whose value indicates the time at which this JSON token was generated. Specify the value as the number of seconds since Epoch, in UTC. The value must be no more than one hour from the current time.
 +
<ref>https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/establishing_a_token-based_connection_to_apns</ref>
  
== Related terms ==
+
* <code>[[openssl rand -hex]] 32 | [[tr -d]] "\n"</code>
  
 +
[[geth]] [[--authrpc.jwtsecret]]
  
 +
== Related terms ==
 +
* [[Istio]], available since 1.0 (31 July 2018)
 +
* <code>[[vault auth]] enable jwt</code>
 +
* <code>[[.p8]]</code>
 +
* <code>[[openssl dgst]] -sha256 -hmac</code>
 +
* [[Auth0]], [[JWT access tokens]]
 +
* [[HMAC]]
 +
* <code>[[lighthouse beacon node --execution-jwt]]</code>
 +
* [[RFC 7519]]
 +
* [[cookies]]
 +
* https://jwt.io/
 +
* [[401 Unauthorized]]
 +
* JWT URL embedding in [[Grafana changelog|Grafana]]
 +
* <code>[[~/.ethereum/geth/jwtsecret]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{JWT}}
 +
* {{JSON}}
 
* {{Java}}
 
* {{Java}}
 +
 +
[[Category:Java]]

Revision as of 14:10, 14 March 2023

wikipedia:JSON Web Token (2010)

Key - Description
alg - The encryption algorithm you used to encrypt the token. APNs supports only the ES256 algorithm, so set the value of this key to ES256.
kid - The 10-character Key ID you obtained from your developer account; see Obtain an Encryption Key and Key ID from Apple.
iss - The issuer key, the value for which is the 10-character Team ID you use for developing your company’s apps. Obtain this value from your developer account.
iat - The “issued at” time, whose value indicates the time at which this JSON token was generated. Specify the value as the number of seconds since Epoch, in UTC. The value must be no more than one hour from the current time.

[1]

geth --authrpc.jwtsecret

Related terms

See also

  • https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/establishing_a_token-based_connection_to_apns
  • Advertising: