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

From wikieduonline
Jump to navigation Jump to search
 
(38 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
[[wikipedia:JSON Web Token]] (2010)
 
[[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.
+
  <code>[[openssl rand -hex]] 32 | [[tr -d]] "\n"</code>
  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.
+
  342b7876ff93dedb43589f9acdfe3f9b93bcab09a9dd61d3e9c51f4ce20ff62e
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>
+
== [[Ethereum JWT]] ==
 +
 
 +
 
 +
== Activities ==
 +
 
  
 
== Related terms ==
 
== Related terms ==
Line 14: Line 19:
 
* <code>[[.p8]]</code>
 
* <code>[[.p8]]</code>
 
* <code>[[openssl dgst]] -sha256 -hmac</code>
 
* <code>[[openssl dgst]] -sha256 -hmac</code>
 +
* [[Auth0]], [[JWT access tokens]]
 +
* [[HMAC]]
 +
* [[RFC 7519]]
 +
* [[cookies]]
 +
* https://jwt.io/
 +
* <code>[[401 Unauthorized]]</code>
 +
* JWT URL embedding in [[Grafana changelog|Grafana]]
  
 
== See also ==
 
== See also ==

Latest revision as of 12:43, 8 August 2024

Advertising: