Fix id_token generation with EdDSA alg by azmeuk · Pull Request #800 · authlib/authlib
Fixes #799.
This simply adds an exception case to use hashlib.sha512 with EdDSA algorithms, and avoid trying to load the unexisting hashlib.shaDSA.
What kind of change does this PR introduce? (check at least one)
- Bugfix
- Feature
- Code style update
- Refactor
- Other, please describe:
Does this PR introduce a breaking change? (check one)
-
Yes
-
No
-
You consent that the copyright of your pull request source code belongs to Authlib's author.