Skip to content

Commit b7f4587

Browse files
committed
docs(oauth2): note single audience per ID-JAG draft spec
Signed-off-by: kanywst <niwatakuma@icloud.com>
1 parent 7d85791 commit b7f4587

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/oauth2.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ func (s *Server) newAccessToken(ctx context.Context, clientID string, claims sto
304304
const idJAGTyp = "oauth-id-jag+jwt"
305305

306306
// idJAGClaims is the JWT payload for an ID-JAG token.
307+
// Audience is a single string per draft-ietf-oauth-identity-assertion-authz-grant-02.
307308
type idJAGClaims struct {
308309
Issuer string `json:"iss"`
309310
Subject string `json:"sub"`

0 commit comments

Comments
 (0)