Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor fetching to support fetching non-JSON JWKS #167

Merged
merged 24 commits into from
Sep 16, 2024

Conversation

ottokruse
Copy link
Contributor

Issue #, if available: #166

Description of changes: Refactor fetching to support fetching non-JSON JWKS

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@ottokruse ottokruse requested a review from hakanson July 17, 2024 15:00
@ottokruse ottokruse mentioned this pull request Jul 17, 2024
@@ -25,30 +22,42 @@ type FetchRequestOptions = RequestOptions & {
* @param uri - The URI
* @param requestOptions - The RequestOptions to use
* @param data - Data to send to the URI (e.g. POST data)
* @returns - The response as parsed JSON
* @returns - The response body as a Uit8Array
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uint8Array (not Uit8...) - but is should this be ArrayBuffer?

@ottokruse ottokruse merged commit 7f9e37b into awslabs:main Sep 16, 2024
1 check passed
@ottokruse ottokruse deleted the fetch branch September 16, 2024 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants