authlib icon indicating copy to clipboard operation
authlib copied to clipboard

Allow overriding the signing algoritm used for JWT client assertion

Open janwijbrand opened this issue 5 years ago • 1 comments

Is your feature request related to a problem? Please describe.

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.

Describe the solution you'd like

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.

I will reference a PR against maintain-0.15 branch for this feature request.

janwijbrand avatar Sep 28 '21 09:09 janwijbrand

merged

lepture avatar Oct 18 '21 12:10 lepture