permissions2
goth
Our great sponsors
permissions2 | goth | |
---|---|---|
0 | 7 | |
501 | 4,884 | |
- | - | |
4.7 | 6.2 | |
15 days ago | 4 days ago | |
Go | Go | |
MIT 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.
permissions2
We haven't tracked posts mentioning permissions2 yet.
Tracking mentions began in Dec 2020.
goth
-
How to build Auth in 2023 with go?
Also really easy to implement as there are libraries that do all the heavy lifting for you (https://github.com/markbates/goth is a great starting place IMHO)
- Authentication in Go? Best practices
- Simple web app, how to do auth?
-
The impossible case of pitching rust in a web dev shop
For the kind of websites I prefer to build -- server side rendered with HTMX/Alpine for the extra niceness -- Rust I think could be a very good fit. The main downside for my personal projects is the ecosystem. E.g., a good standard way to handle CSRF tokens, standardised oauth2 implementations (like https://github.com/markbates/goth in Go), things like that. I found myself having to write a lot of code that just exists in the Go ecosystem. The main downside for a business is that it's going to make it harder to hire, since Rust genuinely requires more skill. Yes, developers will make mistakes in Go, as it's far too easy to do things like access shared memory in dangerous ways. But on the flip side, it's a lot easier for them to deliver a feature. In a choice between shipping a feature that is buggy in hard to detect ways, vs not being able to deliver at all because you can't get developers, I think it's better to ship.
What are some alternatives?
oauth2 - Go OAuth2
go-oauth2-server - A standalone, specification-compliant, OAuth2 server written in Golang.
authboss - The boss of http auth.
jwt-go - ARCHIVE - Golang implementation of JSON Web Tokens (JWT). This project is now maintained at:
gologin - Go login handlers for authentication providers (OAuth1, OAuth2)
jwt-auth - This package provides json web token (jwt) middleware for goLang http servers
authelia - The Single Sign-On Multi-Factor portal for web apps
jwt - This is an implementation of JWT in golang!
casbin - An authorization library that supports access control models like ACL, RBAC, ABAC in Golang: https://discord.gg/S5UjpzGZjN
gorbac - goRBAC provides a lightweight role-based access control (RBAC) implementation in Golang.