How To Install golang-github-auth0-jwt-middleware-devel on Fedora 36
Introduction
In this tutorial we learn how to install golang-github-auth0-jwt-middleware-devel
on Fedora 36.
What is golang-github-auth0-jwt-middleware-devel
A middleware that will check that a JWT is sent on the Authorization header and will then set the content of the JWT into the user variable of the request. This module lets you authenticate HTTP requests using JWT tokens in your Go Programming Language applications. JWTs are typically used to protect API endpoints, and are often issued using OpenID Connect. This package contains the source code needed for building packages that reference the following Go import paths – github.com/auth0/go-jwt-middleware
We can use yum
or dnf
to install golang-github-auth0-jwt-middleware-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-auth0-jwt-middleware-devel.
Install golang-github-auth0-jwt-middleware-devel on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install golang-github-auth0-jwt-middleware-devel
using dnf
by running the following command:
sudo dnf -y install golang-github-auth0-jwt-middleware-devel
Install golang-github-auth0-jwt-middleware-devel on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install golang-github-auth0-jwt-middleware-devel
using yum
by running the following command:
sudo yum -y install golang-github-auth0-jwt-middleware-devel
How To Uninstall golang-github-auth0-jwt-middleware-devel on Fedora 36
To uninstall only the golang-github-auth0-jwt-middleware-devel
package we can use the following command:
sudo dnf remove golang-github-auth0-jwt-middleware-devel
golang-github-auth0-jwt-middleware-devel Package Contents on Fedora 36
/usr/share/doc/golang-github-auth0-jwt-middleware-devel
/usr/share/doc/golang-github-auth0-jwt-middleware-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/auth0
/usr/share/gocode/src/github.com/auth0/go-jwt-middleware
/usr/share/gocode/src/github.com/auth0/go-jwt-middleware/.goipath
/usr/share/gocode/src/github.com/auth0/go-jwt-middleware/README.md
/usr/share/gocode/src/github.com/auth0/go-jwt-middleware/examples
/usr/share/gocode/src/github.com/auth0/go-jwt-middleware/examples/martini-example
/usr/share/gocode/src/github.com/auth0/go-jwt-middleware/examples/martini-example/README.md
/usr/share/gocode/src/github.com/auth0/go-jwt-middleware/examples/negroni-example
/usr/share/gocode/src/github.com/auth0/go-jwt-middleware/examples/negroni-example/README.md
/usr/share/gocode/src/github.com/auth0/go-jwt-middleware/go.mod
/usr/share/gocode/src/github.com/auth0/go-jwt-middleware/jwtmiddleware.go
/usr/share/gocode/src/github.com/auth0/go-jwt-middleware/jwtmiddleware_test.go
/usr/share/licenses/golang-github-auth0-jwt-middleware-devel
/usr/share/licenses/golang-github-auth0-jwt-middleware-devel/LICENSE
References
Summary
In this tutorial we learn how to install golang-github-auth0-jwt-middleware-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).