Upgrade to Pro — share decks privately, control downloads, hide ads and more …

JWT in GO

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →

JWT in GO

Simple walkthrough of JWT with a sample app

Avatar for Yamil Asusta

Yamil Asusta

October 16, 2014

More Decks by Yamil Asusta

Other Decks in Programming

Transcript

  1. JSON Web Token (JWT) is a compact URL-safe means of

    representing claims to be transferred between two parties. The claims in a JWT are encoded as a JSON object that is digitally signed using JSON Web Signature (JWS). IETF
  2. { "name": "Yamil Asusta", "role": "Developer Evangelist", "location": "NYC &

    PR", "likes": [ "Beer", "Traveling", "Programming" ] }
  3. $ openssl genrsa -out demo.rsa 1024" " $ openssl rsa

    -in demo.rsa -pubout > demo.rsa.pub