question

Abhinav Mittal avatar image
Abhinav Mittal asked

How to verify signature from Authorization header?

I am working on Apps & Services and while verifying the Authorization header from Amazon requests,
I used Java SDK and the actual header and the computed header didn't match.

As the actual header contains "x-amz-dtaversion" but the computed header from SDk doesn't contain this. Please help.

helpsdkjavasignature
2 comments
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Ross@Amazon avatar image Ross@Amazon ♦♦ commented ·

Hi Abhinav Mittal,

Have you Obtained an Access Token?

0 Likes 0 ·
Abhinav Mittal avatar image Abhinav Mittal Ross@Amazon ♦♦ commented ·

Hi Ross,

I haven't obtained an access token as it was not mentioned in the Amazon Instant Access Integration Guide (Subscriptions Saas). Do I need to have an access token for verifying the signature from Amazon requests as I am not publishing any APK application? And if it is needed, then where it will be used?

As I used credential store in JAVA SDK and used private and public keys given within my vendor profile and there is no option for the access token.

0 Likes 0 ·

0 Answers