Skip to content
Open source ยท MIT

No auth server in the request path

valiss is offline tenant authentication for services. Every token verifies against one pinned Ed25519 public key: no introspection endpoint, no session store, and issuing credentials never touches production.

go get valiss.dev/valiss
// Issue: the operator signs the account, the account signs the user.
accountToken, _ := valiss.IssueAccount(operator, accountPub,
    valiss.WithName("acme"), valiss.WithTTL(time.Hour))
userToken, _ := valiss.IssueUser(account, userPub,
    valiss.WithName("alice"), valiss.WithTTL(time.Hour))

// Verify offline: the operator public key and the allowlist, no network call.
acct, _ := valiss.VerifyAccount(accountToken, operatorPub)
verifier := valiss.NewVerifier(operatorPub, valiss.NewStaticAllowlist(acct.ID))

What you get