Grant Negotiation and Authorization Protocol (GNAP)

Created

  • 2024-03-21

Last Updated

  • 2025-04-25

Available Formats


GNAP Grant Request Parameters

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Justin Richer, Joseph Salowey, Sudesha Shetty

Reference

  • RFC 9635: Grant Negotiation and Authorization Protocol (GNAP)

Available Formats

NameTypeReference
access_tokenobjectRFC 9635, Section 2.1.1
access_tokenarray of objectsRFC 9635, Section 2.1.2
subjectobjectRFC 9635, Section 2.2
clientobjectRFC 9635, Section 2.3
clientstringRFC 9635, Section 2.3.1
userobjectRFC 9635, Section 2.4
userstringRFC 9635, Section 2.4.1
interactobjectRFC 9635, Section 2.5
interact_refstringRFC 9635, Section 5.1
existing_access_tokenstringRFC 9767, Section 4

GNAP Access Token Flags

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Justin Richer, Joseph Salowey, Sudesha Shetty

Reference

  • RFC 9635: Grant Negotiation and Authorization Protocol (GNAP)

Available Formats

NameAllowed UseReference
bearerRequest, ResponseRFC 9635, Section 2.1.1, 3.2.1
durableResponseRFC 9635, Section 3.2.1

GNAP Subject Information Request Fields

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Justin Richer, Joseph Salowey, Sudesha Shetty

Reference

  • RFC 9635: Grant Negotiation and Authorization Protocol (GNAP)

Available Formats

NameTypeReference
sub_id_formatsarray of stringsRFC 9635, Section 2.2
assertion_formatsarray of stringsRFC 9635, Section 2.2
sub_idsarray of objectsRFC 9635, Section 2.2

GNAP Assertion Formats

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Justin Richer, Joseph Salowey, Sudesha Shetty

Reference

  • RFC 9635: Grant Negotiation and Authorization Protocol (GNAP)

Available Formats


GNAP Client Instance Fields

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Justin Richer, Joseph Salowey, Sudesha Shetty

Reference

  • RFC 9635: Grant Negotiation and Authorization Protocol (GNAP)

Available Formats

NameTypeReference
keyobjectRFC 9635, Section 7.1
keystringRFC 9635, Section 7.1.1
class_idstringRFC 9635, Section 2.3
displayobjectRFC 9635, Section 2.3.2

GNAP Client Instance Display Fields

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Justin Richer, Joseph Salowey, Sudesha Shetty

Reference

  • RFC 9635: Grant Negotiation and Authorization Protocol (GNAP)

Available Formats

NameTypeReference
namestringRFC 9635, Section 2.3.2
uristringRFC 9635, Section 2.3.2
logo_uristringRFC 9635, Section 2.3.2

GNAP Interaction Start Modes

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Justin Richer, Joseph Salowey, Sudesha Shetty

Reference

  • RFC 9635: Grant Negotiation and Authorization Protocol (GNAP)

Available Formats

ModeTypeReference
redirectstringRFC 9635, Section 2.5.1.1
appstringRFC 9635, Section 2.5.1.2
user_codestringRFC 9635, Section 2.5.1.3
user_code_uristringRFC 9635, Section 2.5.1.4

GNAP Interaction Finish Methods

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Justin Richer, Joseph Salowey, Sudesha Shetty

Reference

  • RFC 9635: Grant Negotiation and Authorization Protocol (GNAP)

Available Formats


GNAP Interaction Hints

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Justin Richer, Joseph Salowey, Sudesha Shetty

Reference

  • RFC 9635: Grant Negotiation and Authorization Protocol (GNAP)

Available Formats

NameReference
ui_localesRFC 9635, Section 2.5.3

GNAP Grant Response Parameters

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Justin Richer, Joseph Salowey, Sudesha Shetty

Reference

  • RFC 9635: Grant Negotiation and Authorization Protocol (GNAP)

Available Formats

NameTypeReference
continueobjectRFC 9635, Section 3.1
access_tokenobjectRFC 9635, Section 3.2.1
access_tokenarray of objectsRFC 9635, Section 3.2.2
interactobjectRFC 9635, Section 3.3
subjectobjectRFC 9635, Section 3.4
instance_idstringRFC 9635, Section 3.5
errorobjectRFC 9635, Section 3.6

GNAP Interaction Mode Responses

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Justin Richer, Joseph Salowey, Sudesha Shetty

Reference

  • RFC 9635: Grant Negotiation and Authorization Protocol (GNAP)

Available Formats


GNAP Subject Information Response Fields

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Justin Richer, Joseph Salowey, Sudesha Shetty

Reference

  • RFC 9635: Grant Negotiation and Authorization Protocol (GNAP)

Available Formats

NameTypeReference
sub_idsarray of objectsRFC 9635, Section 3.4
assertionsarray of objectsRFC 9635, Section 3.4
updated_atstringRFC 9635, Section 3.4

GNAP Error Codes

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Justin Richer, Joseph Salowey, Sudesha Shetty

Reference

  • RFC 9635: Grant Negotiation and Authorization Protocol (GNAP)

Available Formats

ErrorReference
invalid_requestRFC 9635, Section 3.6
invalid_clientRFC 9635, Section 3.6
invalid_interactionRFC 9635, Section 3.6
invalid_flagRFC 9635, Section 3.6
invalid_rotationRFC 9635, Section 3.6
key_rotation_not_supportedRFC 9635, Section 3.6
invalid_continuationRFC 9635, Section 3.6
user_deniedRFC 9635, Section 3.6
request_deniedRFC 9635, Section 3.6
unknown_interactionRFC 9635, Section 3.6
unknown_userRFC 9635, Section 3.6
too_fastRFC 9635, Section 3.6
too_many_attemptsRFC 9635, Section 3.6

GNAP Key Proofing Methods

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Justin Richer, Joseph Salowey, Sudesha Shetty

Reference

  • RFC 9635: Grant Negotiation and Authorization Protocol (GNAP)

Available Formats


GNAP Key Formats

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Justin Richer, Joseph Salowey, Sudesha Shetty

Reference

  • RFC 9635: Grant Negotiation and Authorization Protocol (GNAP)

Available Formats


GNAP Authorization Server Discovery Fields

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Justin Richer, Joseph Salowey, Sudesha Shetty

Reference

  • RFC 9635: Grant Negotiation and Authorization Protocol (GNAP)

Available Formats

NameTypeReference
grant_request_endpointstringRFC 9635, Section 9
interaction_start_modes_supportedarray of stringsRFC 9635, Section 9
interaction_finish_methods_supportedarray of stringsRFC 9635, Section 9
key_proofs_supportedarray of stringsRFC 9635, Section 9
sub_id_formats_supportedarray of stringsRFC 9635, Section 9
assertion_formats_supportedarray of stringsRFC 9635, Section 9
key_rotation_supportedbooleanRFC 9635, Section 9

GNAP Token Formats

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Justin Richer, Joseph Salowey, Sudesha Shetty

Reference

  • RFC 9767: Grant Negotiation and Authorization Protocol Resource Server Connections

Available Formats

NameStatusDescriptionReference
jwt-signedActiveJSON Web Token, signed with JWSRFC 7519
jwt-encryptedActiveJSON Web Token, encrypted with JWERFC 7519
macaroonActiveMacaroonMACAROON
biscuitActiveBiscuitBISCUIT
zcapActiveZCAPZCAPLD

GNAP Token Introspection Request

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Justin Richer, Joseph Salowey, Sudesha Shetty

Reference

  • RFC 9767: Grant Negotiation and Authorization Protocol Resource Server Connections

Available Formats

NameTypeReference
access_tokenstringRFC 9767, Section 3.3
proofstringRFC 9767, Section 3.3
resource_serverobject/stringRFC 9767, Section 3.3
accessarray of strings/objectsRFC 9767, Section 3.3

GNAP Token Introspection Response

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Justin Richer, Joseph Salowey, Sudesha Shetty

Reference

  • RFC 9767: Grant Negotiation and Authorization Protocol Resource Server Connections

Available Formats

NameTypeReference
activebooleanRFC 9767, Section 3.3
accessarray of strings/objectsRFC 9767, Section 3.3
keyobject/stringRFC 9767, Section 3.3
flagsarray of stringsRFC 9767, Section 3.3
expintegerRFC 9767, Section 3.3
iatintegerRFC 9767, Section 3.3
nbfintegerRFC 9767, Section 3.3
audstring or array of stringsRFC 9767, Section 3.3
substringRFC 9767, Section 3.3
issstringRFC 9767, Section 3.3
instance_idstringRFC 9767, Section 3.3

GNAP Resource Set Registration Request Parameters

Registration Procedure(s)

  • Expert Review

Expert(s)

  • Justin Richer, Joseph Salowey, Sudesha Shetty

Reference

  • RFC 9767: Grant Negotiation and Authorization Protocol Resource Server Connections

Available Formats

NameTypeReference
accessarray of strings/objectsRFC 9767, Section 3.4
resource_serverobject/stringRFC 9767, Section 3.4
token_formats_supportedarray of stringsRFC 9767, Section 3.4
token_introspection_requiredbooleanRFC 9767, Section 3.4

GNAP Resource Set Registration Response Parameters

Registration Procedure(s)

  • Expert Review

Expert(s)

  • Justin Richer, Joseph Salowey, Sudesha Shetty

Reference

  • RFC 9767: Grant Negotiation and Authorization Protocol Resource Server Connections

Available Formats

NameTypeReference
resource_referencestringRFC 9767, Section 3.4
instance_idstringRFC 9767, Section 3.4
introspection_endpointstringRFC 9767, Section 3.4

GNAP RS-Facing Discovery Document Fields

Registration Procedure(s)

  • Expert Review

Expert(s)

  • Justin Richer, Joseph Salowey, Sudesha Shetty

Reference

  • RFC 9767: Grant Negotiation and Authorization Protocol Resource Server Connections

Available Formats

NameTypeReference
introspection_endpointstringRFC 9767, Section 3.1
token_formats_supportedarray of stringsRFC 9767, Section 3.1
resource_registration_endpointstringRFC 9767, Section 3.1
grant_request_endpointstringRFC 9767, Section 3.1
key_proofs_supportedarray of stringsRFC 9767, Section 3.1

GNAP RS-Facing Error Codes

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Justin Richer, Joseph Salowey, Sudesha Shetty

Reference

  • RFC 9767: Grant Negotiation and Authorization Protocol Resource Server Connections

Available Formats

ErrorReference
invalid_requestRFC 9767, Section 3.5
invalid_resource_serverRFC 9767, Section 3.5
invalid_accessRFC 9767, Section 3.5