JWT Token

JWT Id token has three parts:

Header
Payload
Signature
The signature is used to verify the message wasn’t changed along the way. When either of your header or payload changes the token becomes invalid due to signature mismatch.

https://jwt.io/introduction

Decode and Verify
https://aws.amazon.com/premiumsupport/knowledge-center/decode-verify-cognito-json-token/

https://github.com/awslabs/aws-support-tools/tree/master/Cognito/decode-verify-jwt

GitHub Go

  • GoRequest — Simplified HTTP client

https://github.com/parnurzeal/gorequest

  • Gin — HTTP web framework

https://github.com/gin-gonic/gin

Gin Web Framework Document:

https://gin-gonic.com/zh-cn/docs/

  • Structured, pluggable logging

https://github.com/sirupsen/logrus

  • Pretty printer

https://github.com/davecgh/go-spew

  • JSON web token

https://github.com/dgrijalva/jwt-go

  • Postgres driver for sql

https://github.com/lib/pq

  • Build command line apps

https://github.com/urfave/cli

  • Go web programming

https://github.com/sausheong/gwp

  • Go dot env file

https://github.com/joho.godotenv

  • Go cmp

https://github.com/google/go-cmp