I am using PyJWT. I have given public & private keys in JWK format. I need to sign the JWT token. But I didn't see any example where PyJWT is supporting JWK format. Is it possible? My preference is using PyJWT. But I am open to use any other python module if you have one.
Need to sign JWT token with JWK key
Need to sign JWT token with JWK key
|
Feb-21-2022, 09:04 AM
Found a solution using PyJWT. Took time to search. Sharing it here, maybe someone will also look for it. Sample python code is given https://www.w3spot.com/2022/01/signing-j...pyjwt.html
|
|
Users browsing this thread: 1 Guest(s)