awslabs / aws-support-tools

Tools and sample code provided by AWS Premium Support.
https://aws.amazon.com/premiumsupport/
Apache License 2.0
1.45k stars 798 forks source link

Added decode verify for golang #200

Open amorfica opened 2 years ago

amorfica commented 2 years ago

Description of changes:

This is a code example in golang 1.16, implementing id token verification using the "github.com/golang-jwt/jwt/v4" library. Please review and include with your examples.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.