-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fallback to curl direct JWK from devlooped.com if pwsh/jq not available
NOTES: 1. `pwsh` cannot be replaced with `powershell` because the output of `curl` is different and breaks `jq` 2. `jq` would still be needed even if replacing `pwsh` 3. Downloading the `jwk` directly from sponsorlink.devlooped.com is done via curl. This is suboptimal and slower (typically) than downloading from github, hence it's used as a fallback only. 4. If no curl is available (legacy windows?), use built-in powershell. This guarantees we can always download the JWK.
- Loading branch information
Showing
2 changed files
with
75 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters