Skip to content

Instantly share code, notes, and snippets.

View esmo's full-sized avatar

Edouard Simon esmo

  • Berlin, Germany
View GitHub Profile
@esmo
esmo / gist:12b544e27d4e57cfcbd8ba458bd77123
Created October 10, 2017 08:46
Postman pre-request script for JWT Authentication
/*
Set the Header "Authorization" with the value {{JwtAuth}}
*/
var sdk = require('postman-collection'),
tokenRequest = new sdk.Request( {
"url": <FILL IN URL OF JWT TOKEN ENDOPOINT>,
"method": "POST",
"header": [],
"body": {

Keybase proof

I hereby claim:

  • I am esmo on github.
  • I am ede (https://keybase.io/ede) on keybase.
  • I have a public key whose fingerprint is 5970 D5BD 8D46 3725 72CF D348 EE83 0A62 F65E 51E9

To claim this, I am signing this object: