JsonWebToken library for AsymmetricJwk

Hi
I am working on .Net and interested to use JsonWebToken for Signing Purpose. i want to implement Using OAuth 2.0 for Server to Server Applications in google. The only signing algorithm supported by the Google OAuth 2.0 Authorization Server is RSA using SHA-256 hashing algorithm. I have the private key in my hand.i need to initialize AsymmetricJwk, i think. But the example JsonWebToken only showing SymmetricJwk.Can you Please help me, how can i initialize AsymmetricJwk using Private Key.

Thanks

Hi @khandokarsabbir,

Welcome to the Community!

Since this is not an Auth0 library I will not be an expert here, but it looks like there is an AsymmetricJwk function that you can use and pass the key to.

Hope this helps,
Dan

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.