Skip to content

Commit

Permalink
fix: No response type set on authz code after using PAR
Browse files Browse the repository at this point in the history
  • Loading branch information
nklomp committed Jun 2, 2024
1 parent 599ca9e commit 5da243e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/lib/AuthorizationCodeClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export const createAuthorizationRequestUrl = async ({
}
} else {
debug(`PAR response: ${(parResponse.successBody, null, 2)}`);
queryObj = { client_id, request_uri: parResponse.successBody.request_uri };
queryObj = { response_type: ResponseType.AUTH_CODE, client_id, request_uri: parResponse.successBody.request_uri };
}
}

Expand Down

0 comments on commit 5da243e

Please sign in to comment.