Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By freightCognitionv1.0.0MITIn 1 marketplace
Expert guidance for github.com/markbates/goth OAuth authentication library in Go. Covers provider setup (Google, Microsoft), Echo framework integration, session management, and security best practices.
Claude hands work to one, or you mention it with @.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Expert guidance for implementing OAuth authentication in Go using github.com/markbates/goth.
This plugin provides comprehensive guidance for:
Core concepts and basic usage:
Triggers: "goth setup", "oauth go", "authentication golang", "goth package"
Provider configuration and management:
Triggers: "add provider", "google oauth", "microsoft login", "azure ad"
Framework integration and security:
Triggers: "goth echo", "oauth security", "session management", "gorilla sessions"
For complex troubleshooting and architecture decisions:
package main
import (
"net/http"
"os"
"github.com/markbates/goth"
"github.com/markbates/goth/gothic"
"github.com/markbates/goth/providers/google"
)
func init() {
goth.UseProviders(
google.New(
os.Getenv("GOOGLE_CLIENT_ID"),
os.Getenv("GOOGLE_CLIENT_SECRET"),
"http://localhost:3000/auth/google/callback",
"email", "profile",
),
)
}
func main() {
http.HandleFunc("/auth/google", func(w http.ResponseWriter, r *http.Request) {
gothic.BeginAuthHandler(w, r)
})
http.HandleFunc("/auth/google/callback", func(w http.ResponseWriter, r *http.Request) {
user, err := gothic.CompleteUserAuth(w, r)
if err != nil {
http.Error(w, err.Error(), 500)
return
}
// User authenticated! user.Email, user.Name available
})
http.ListenAndServe(":3000", nil)
}
| Guide | Description |
|---|---|
| google-oauth-setup.md | Google Cloud Console configuration |
| microsoft-oauth-setup.md | Azure AD app registration |
| session-storage-options.md | Cookie vs Redis vs PostgreSQL |
| security-checklist.md | Pre-deployment security verification |
# Google OAuth
GOOGLE_CLIENT_ID=your-client-id.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=your-client-secret
# Microsoft OAuth
AZURE_CLIENT_ID=your-azure-app-id
AZURE_CLIENT_SECRET=your-azure-secret
# Session
SESSION_SECRET=your-32-byte-random-string
linehaul.ai - [email protected]
MIT
npx claudepluginhub freightcognition/linehaulai-claude-marketplace --plugin goth-oauthBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground