-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Infer the JWS signing algorithm name by looking at the provided key
This handles cases where the JWS message or the key do not have a proper `alg` header. The `alg` header is optional[0], so some identity providers may not supply it (such as Microsoft Identity[1]) [0]: https://datatracker.ietf.org/doc/html/rfc7517#section-4.4 [1]: https://login.microsoftonline.com/common/discovery/v2.0/keys Signed-off-by: Erik Haugrud <[email protected]>
- Loading branch information
Showing
2 changed files
with
27 additions
and
4 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