Extract Public Key from JWT Payload

For server-side verification, I am able to extract the JWT payload successfully. This includes the “compressed app-scoped public key”. I am not entirely clear what this is. What I am looking for is the EVM-style public key that corresponds to the client-side private key. Can I calculate this from the JWT payload?

I figured this out. Using etherJS, the following works:

const address = ethers.utils.computeAddress(`0x${compressedPublicKey}`);

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