Rockstaa8055
TTCTheo's Typesafe Cult
•Created by Rockstaa8055 on 4/25/2024 in #questions
RSA_PKCS1_PADDING is no longer supported for private decryption
UPDATE: Found a workaround by using NodeRSA and setting the environment to browser (It will use the node crypto library with the CVE by default)
4 replies
TTCTheo's Typesafe Cult
•Created by Rockstaa8055 on 4/25/2024 in #questions
RSA_PKCS1_PADDING is no longer supported for private decryption
Steps to Reproduce
Create an endpoint on next.js and deploy it to vercel
4 replies
TTCTheo's Typesafe Cult
•Created by arete on 5/12/2023 in #questions
is there a way to change/refresh token when data in db changes such as role?
Yup
6 replies
TTCTheo's Typesafe Cult
•Created by arete on 5/12/2023 in #questions
is there a way to change/refresh token when data in db changes such as role?
Unfortunately that's not possible with JWTs. They are stateless, which means once created there is no way to revoke or modify their content.
6 replies