awslabs / aws-lambda-go-api-proxy

lambda-go-api-proxy makes it easy to port APIs written with Go frameworks such as Gin (https://gin-gonic.github.io/gin/ ) to AWS Lambda and Amazon API Gateway.
Apache License 2.0
1.05k stars 197 forks source link

using context.Request.BasicAuth() with cognito Authorizer #49

Open ariasf opened 4 years ago

ariasf commented 4 years ago

Hello is there a way to decrypt the cognito access token as a map? context.Request.BasicAuth() returns a strings, where all the user attributes are return as a multi line string in the password return var (uname,password, bool).

Or do I have to code something for this ?

Thanks in advance!