Own your users.
An embeddable, framework-agnostic authentication engine for Go. Self-hosted. Zero telemetry. No vendor lock-in.
main.go
package main
import (
"context"
"github.com/crydensync/cryden/v2"
"github.com/crydensync/cryden/v2/store/memory"
)
func main() {
engine, _ := cryden.New(cryden.Config{
JWTSecret: "your-secret",
Users: memory.NewUserStore(),
Sessions: memory.NewSessionStore(),
Audit: memory.NewAuditStore(),
})
ctx := context.Background()
cryden.SignUp(ctx, engine, "devray@example.com", "Pass@2026", "127.0.0.1")
tokens, _ := cryden.Login(ctx, engine, "devray@example.com", "Pass@2026", "127.0.0.1", "cli")
}No hosted service. No third-party database. Your Postgres, your users, your control.