You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/spec/1.0.0-rc.md
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,7 @@ a manifest in JWT (JSON Web Token) format containing the following claims:
47
47
| ----------- | ----------- |
48
48
|`iss`|[Standard claim](https://www.rfc-editor.org/rfc/rfc7519#section-4.1.1) containing the URL of the backend that issues sponsor manifests |
49
49
|`aud`|[Standard claim](https://www.rfc-editor.org/rfc/rfc7519#section-4.1.3) containing one or more URLs of the supported sponsoring platforms |
50
+
|`iat`|[Standard claim](https://www.rfc-editor.org/rfc/rfc7519#section-4.1.6) containing the time the manifest was issued at |
50
51
|`sub_jwk`|[Standard claim](https://openid.net/specs/openid-connect-core-1_0.html#SelfIssuedResponse) containing the public key (JWK) that can be used to check the signature of issued sponsor manifests |
51
52
|`pub`| Custom claim containing the Base64-encoded public key in `sub_jwt` for easier consumption. |
52
53
@@ -62,6 +63,7 @@ The following is an example of a sponsorable manifest:
62
63
{
63
64
"iss": "https://sponsorlink.devlooped.com/",
64
65
"aud": "https://github.com/sponsors/devlooped",
66
+
"iat": 1696118400,
65
67
"pub": "MII...=",
66
68
"sub_jwk": {
67
69
"e": "AQAB",
@@ -80,10 +82,11 @@ that the sponsorable issuer provides to the sponsor, containing the following cl
80
82
| ----------- | ----------- |
81
83
|`iss`| The token [issuer](https://www.rfc-editor.org/rfc/rfc7519#section-4.1.1), matching the sponsorable manifest issuer claim |
82
84
|`aud`| The [audience](https://www.rfc-editor.org/rfc/rfc7519#section-4.1.3) URL(s) from the sponsorable manifest |
85
+
|`iat`| The [time the manifest was issued at](https://www.rfc-editor.org/rfc/rfc7519#section-4.1.6)|
83
86
|`sub`| The [subject](https://www.rfc-editor.org/rfc/rfc7519#section-4.1.2) claim, which is the sponsor account (i.e. user GitHub login) |
84
87
|`roles`| The sponsoring [roles](https://www.rfc-editor.org/rfc/rfc9068.html#section-7.2.1.1) of the authenticated user (e.g. team, org, user, contrib) |
85
-
|`email`| The sponsor's email(s) |
86
-
|`exp`| The token's expiration date |
88
+
|`email`| The sponsor's email(s) [standard claim](https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims)|
89
+
|`exp`| The token's [expiration date](https://www.rfc-editor.org/rfc/rfc7519.html#section-4.1.4)|
87
90
88
91
{: .note }
89
92
> Tools can fetch the sponsorable manifest from `[iss]/jwt` for verification of the sponsor manifest signature.
0 commit comments