oauth2
k6
Our great sponsors
oauth2 | k6 | |
---|---|---|
8 | 20 | |
5,105 | 23,079 | |
1.3% | 2.3% | |
7.4 | 9.6 | |
16 days ago | 6 days ago | |
Go | Go | |
BSD 3-clause "New" or "Revised" License | GNU Affero General Public License v3.0 |
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
k6
-
HTTPie Desktop: cross-platform API testing client for humans
I know this is about Desktop HTTP testing but has anyone experimented with command-line HTTP testing?
I recall having a good experience with https://github.com/grafana/k6 some eons ago.
It's geared towards writing load testing in JS but it also allows you to check HTTP body, headers, etc.
-
Examples of using task scheduler with Go?
K6' usage - pretty friggin robust - is here https://github.com/grafana/k6/tree/master/js
-
Announcing the Tracetest integration with k6: Deep Load Testing of your Cloud Native System
k6 allows you to build performant load tests that take a fraction of the resources legacy load-testing tools require. The tests are written in an easy-to-follow JavaScript form and can be extended with a number of extensions. The tests execute via a Go-JavaScript compiler so they take a minimal amount of resources when being executed, allowing the scaling of load tests with fewer resources.
-
Maximizing concurrent outbound http requests
Iβd use K6 for this. Itβs been optimised for this purpose. https://github.com/grafana/k6
-
Need help load testing an API
k6
- Recommended tooling for load-testing an express REST API
- A modern load testing tool, using Go and JavaScript !!
-
Upload files to AWS S3 in k6
k6 0.38.1 is a minor patch. To view all the new features, check out k6 0.38.0 tag. Following are the noteworthy features in 0.38.0.
-
Top 3 Automation Testing Tools for 2022
View on GitHub
-
JMeter was too slow for my use case, so I wrote Gocannon
If you need more flexibility, there's k6, which you can script, and send stats to an influxdb
What are some alternatives?
authelia - The Single Sign-On Multi-Factor portal for web apps
Vegeta - HTTP load testing tool and library. It's over 9000!
Gatling - Modern Load Testing as Code
casbin - An authorization library that supports access control models like ACL, RBAC, ABAC in Golang: https://discord.gg/S5UjpzGZjN
Hey - HTTP load generator, ApacheBench (ab) replacement
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:
artillery - Load testing at cloud-scale. Serverless & distributed out-of-the-box. Load test with Playwright. Load test HTTP APIs, GraphQL, WebSocket, and more. Use any Node.js module. Never fail to scale with Artillery!
webauthn - Go package for easy WebAuthn integration
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 ππβ¨