ant0ine / go-json-rest

A quick and easy way to setup a RESTful JSON API
https://ant0ine.github.io/go-json-rest/
MIT License
3.51k stars 381 forks source link

Auth0 how to #221

Open stefanwuthrich opened 7 years ago

stefanwuthrich commented 7 years ago

I try to find a way to use Auth0 for authorization, but i can't succeed. would be great to have a example for this

revett commented 6 years ago

We wrote a custom middleware (see README section) that makes use of the dgrijalva/jwt-go package to validate the JWT token sent within each request.