Created
March 7, 2019 06:54
-
-
Save andresprogra/7b2b1e01c602c9133d062d6d6043802e to your computer and use it in GitHub Desktop.
jwt.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
token, err := request.ParseFromRequest(r, request.OAuth2Extractor, func(token *jwt.Token) (interface{}, error) { | |
return publicKey, nil | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment