Hey everyone!
The second day I try to get this article working
The issue I face here is that once I try the code given in the example I see the following message:
go: finding module for package github.com/auth0/go-jwt-middleware/validate/jwt-go
github.com/{MY_MODULE_PATH}/apiserver imports
github.com/auth0/go-jwt-middleware/validate/jwt-go: module github.com/auth0/go-jwt-middleware@latest found (v1.0.1), but does not contain package github.com/auth0/go-jwt-middleware/validate/jwt-go
And because it couldn’t find needed dependencies I can’t even compile the code.
The internet does have such examples but all those ones are built on top of such as old packages for golang, so the official doc says that I don’t need to use them.
Does anyone have a working example of jwt auth mechanism for golang? Or someone knows how to solve that kind of issue?
Can you raise it as a GitHub issue in the quickstart repo so we can get that addressed by the quickstart maintainers? Once you have a link to it you can share it with us here so we can ping them. Thank you!
@dskuratovich I’m also having similar issues with trying to find a valid and working golang repo that uses RS256 as the signing algorithm for auth0 as middleware. Have you figured this out?
FWIW, There are way too many outdated or scattered golang examples for auth in too many different repos. Try to archive the ones that aren’t the most up to date.
Totally fine, but a bit confusing for a developer who just wants to use something out of the box and then there’s a bunch of different tutorials using different packages.