# Authorization Signature Calculation

**URL:** <https://community.postman.com/t/authorization-signature-calculation/10361>\
**Category:** Help Hub\
**Tags:** oauth, signature\
**Created:** [January 27, 2020, 8:12pm UTC](https://community.postman.com/t/authorization-signature-calculation/10361 "2020-01-27T20:12:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![btobiczyk](https://avatars.discourse-cdn.com/v4/letter/b/5fc32e/32.png) [@btobiczyk](https://community.postman.com/u/btobiczyk)\
**Post date:** [January 27, 2020, 8:12pm UTC](https://community.postman.com/t/authorization-signature-calculation/10361/1 "2020-01-27T20:12:48Z")

</div>

On a collection, when setting up authorization, Oauth 1.0, add auth data to request headers, etc…  
how is the signature calculated exactly? Assume SHA256, what is the string order/format that is used to create the signature?

---

<div class="post-metadata">

**Author:** ![vdespa](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/vdespa/32/2770_2.png) [@vdespa](https://community.postman.com/u/vdespa)\
**Post date:** [May 16, 2020, 6:38pm UTC](https://community.postman.com/t/authorization-signature-calculation/10361/2 "2020-05-16T18:38:40Z")

</div>

I would expect that it is calculated as explained in the protocol:

```
 digest = HMAC-SHA1 (key, text)

```

See also [https://tools.ietf.org/html/rfc5849#section-3.4.2](https://tools.ietf.org/html/rfc5849#section-3.4.2).

---

<div class="post-metadata">

**Author:** ![stevesmith741](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@stevesmith741](https://community.postman.com/u/stevesmith741)\
**Post date:** [December 22, 2024, 12:11pm UTC](https://community.postman.com/t/authorization-signature-calculation/10361/3 "2024-12-22T12:11:36Z")

</div>

Answer seems to assume that OP knows the values that make up . I certainly don’t. 4 years after this post, the answer to this question seems as elusive as it was then.

---

<div class="post-metadata">

**Author:** ![stevesmith741](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@stevesmith741](https://community.postman.com/u/stevesmith741)\
**Post date:** [December 22, 2024, 12:12pm UTC](https://community.postman.com/t/authorization-signature-calculation/10361/4 "2024-12-22T12:12:10Z")

</div>

Answer seems to assume that OP knows the values that make up “text”. I certainly don’t. 4 years after this post, the answer to this question seems as elusive as it was then.
