Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by becoming a sponsor.
▸ issueRequestObject(as, client, parameters, privateKey, options?): Promise<string>
Generates a signed JWT-Secured Authorization Request (JAR).
| Parameter | Type | Description |
|---|---|---|
as |
AuthorizationServer |
Authorization Server Metadata. |
client |
Client |
Client Metadata. |
parameters |
Record<string, string> | URLSearchParams | string[][] |
- |
privateKey |
CryptoKey | PrivateKey |
Private key to sign the Request Object with. |
options? |
ModifyAssertionOptions |
- |
Promise<string>
RFC 9101 - The OAuth 2.0 Authorization Framework: JWT-Secured Authorization Request (JAR)