Skip to main content
Participant
September 25, 2025
Question

Meta Quest Attestation JWT token always Invalid Signature

Hi:

I am trying to use the Meta Quest Attestation API in the Unity  project
folowing the sample, I can get the jwt from Meta SDK all right,
but whenever I verify with api with `https://graph.oculus.com/platform_integrity/verify?token=<attestation_token>&access_token=<access_token>`
always getting Invalid signature.

I have tried on a published project's local build and an unpublished project's alpha build.
Both Attestation JWT yield Invalid Signature.

Do I miss something here?


9 replies

Meta Employee
September 25, 2025

Howdy!

Sorry to hear that you're having trouble with the Attestation API, I get how that could be frustrating.

We have some great documentation that covers the implementation of that particular API. In case you haven't checked it out already, I'll link it below. I'd recommend that you check out the Token verification section of that documentation specifically, as it mentions that error. 

Let me know if you were able to figure out the issue, and if not please feel free to reach back out and we can troubleshoot further!

Meta Quest Attestation API

-G

HYPERKaoAuthor
Participant
September 26, 2025

Hi:

yes, I read the doc, but the verification step still giving me invalid signature.

I can get the other api access like Monetization-Add-ons Server APIs (e https://graph.oculus.com/$APP_ID/viewer_purchases) working.
I assume the access_token part is correct just as it is setup in other api.
for the attestation token read from device log,  I can decode to read the content by jwt.io

there is some requirements or limits for attestation API that missing so I get invalid signature.

Meta Employee
September 26, 2025

Hi again!

Thanks for confirming and the additional context. We're currently looking into the issue, and I may reach back out again if I have any questions or updates.

-G

Meta Employee
October 2, 2025

Hi HYPER.Kao, 

Could you please paste the complete output you received from your browser after visiting the following URL below?   

https://graph.oculus.com/platform_integrity/verify?token=<attestation_token>&access_token=<access_token>

Did you use the correct access token?
Is your <access token> in the format OC|App_ID|App_Secret?

Meta Employee
October 2, 2025

Hi HYPER.Kao, 

Could you also make sure the token=<attestation_token> is not an empty string.

HYPERKaoAuthor
Participant
October 3, 2025

if attestation_token was empty, i would get "invalid request"
and if access_token was wrong, i would get "Invalid OAuth 2.0 Access Token"

so yes, I am pretty sure those two fields werefilled with proper string

Meta Employee
October 3, 2025

Is your package name "com.gunraiders"?

If so, we are getting "Empty String Parameter Exception". Could you please log (dump) the request parameters and try running the request in your browser? Then, let us know what output you see in the browser. This information will help us debug the issue more effectively.

Thank you!