Commit 6f0b88a
committed
Look at the key type to determine the expected algorithm.
It's not mandatory to have an `alg` claim in the JWKS; we can
derive the information we need from the `kty` (key type) claim.
The java library used by IAM does not advertise `alg`.
There's potentially more work to do here if we want to support
additional RSA signing algorithms.1 parent 94f1e20 commit 6f0b88a
1 file changed
+26
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
| 420 | + | |
420 | 421 | | |
421 | | - | |
422 | | - | |
423 | | - | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
424 | 447 | | |
425 | 448 | | |
426 | 449 | | |
| |||
0 commit comments