Verify ECDSA signature in iOS


I am trying to read a JWT response after successful login. I receive the correct header and payload and can read the contents perfectly fine.

The problem is I can’t figure out a way to verify the signature in iOS. I have the encoded signature from JWT response, the used algorithm (es256) and a public key.

Can someone point me in the right direction here.

PS. I am a beginner to the whole JWT ECDSA setup so bear with me if this is a commonly asked question.

Hey @lazybytes
As it has been more than a few months since this topic was opened and there has been no reply or further information provided from the community as to the existence of the issue we would like to check if you are still facing the described challenge?

We are more than happy to assist in any way! If the issue is still out there please let us know so we can create a new thread for better visibility, otherwise we’ll close this one in week’s time.

Thank you!

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