oauth2
RBAC
Our great sponsors
oauth2 | RBAC | |
---|---|---|
8 | 0 | |
5,105 | 105 | |
1.3% | 0.0% | |
7.4 | 0.0 | |
16 days ago | over 4 years ago | |
Go | Go | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
oauth2
-
How to Authenticate a CLI Using OAuth and GitHub in Golang
The guide covers setting up GitHub, using the golang.org/x/oauth2 package, and handling OAuth authentication. The code snippets are easy to follow and can be modified to fit your project's needs.
-
Authentication for HTMX app
I personally use golang.org/x/oauth2 to handle OAuth in my app, so I'll use that for this example.
-
Retrieving authorization JWT from Go CLI program.
For OAuth2 I've always used the standard library, which is fine as long as you don't need to handle token refresh -- and assuming you're getting a JWT from an OAuth2 endpoint, I'm guessing you don't. (It can be done, but it's problematic.)
I mean using the OAuth2 client library that's maintained as part of the Go project.
-
Looking for a reliable OAuth2 client implementation
Hmm, this might be a relevant issue: https://github.com/golang/oauth2/issues/128 . On the face of it, it looks like https://github.com/coreos/go-oidc is a more thorough implementation...(?)
-
Gopher Gold #20 - Wed Nov 18 2020
golang/oauth2 (Go): Go OAuth2
RBAC
We haven't tracked posts mentioning RBAC yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
authelia - The Single Sign-On Multi-Factor portal for web apps
casbin - An authorization library that supports access control models like ACL, RBAC, ABAC in Golang: https://discord.gg/S5UjpzGZjN
goth - Package goth provides a simple, clean, and idiomatic way to write authentication packages for Go web applications.
jwt-go - ARCHIVE - Golang implementation of JSON Web Tokens (JWT). This project is now maintained at:
webauthn - Go package for easy WebAuthn integration
k6 - A modern load testing tool, using Go and JavaScript - https://k6.io
Gin - Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
go-oauth2-server - A standalone, specification-compliant, OAuth2 server written in Golang.
PhotoPrism - AI-Powered Photos App for the Decentralized Web 🌈💎✨
go-jose - An implementation of JOSE standards (JWE, JWS, JWT) in Go