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

allow to pass in alternative signing algoritm to RFC7523 JWT client assertions #390

Conversation

janwijbrand
Copy link
Contributor

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.

Referencing #389:

I'd like to have control over the signing algoritms used for the JWT client asserstion authentication variants. The current API doesn't allow to override the default RS256, even thought the lower-level signing helper functions are parameterized.

When setting up an PrivateKeyJWT() instance to register as client auth method, I'd like to pass in the signing algoritm I'd like to use.

@lepture lepture merged commit 4d8a6ef into lepture:maintain-0.15 Oct 18, 2021
@janwijbrand
Copy link
Contributor Author

Thanks @lepture for accepting the PR!!

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.

None yet

2 participants