Authorization and access control as a service

Add role based access control to your SaaS product.

Manage employee access to internal applications.

Allow users to grant & manage access for teammates.

Restrict access to features based on pricing tiers.

Add secure multitenancy to your B2B product.

Get StartedRead the Docs
ACCESS PASSSERVER 56ALLOWEDIT56STORE91SubjectSubjectObjectObject IDRelationObjectObject IDSTORE91

Trusted in production by

cust1-logocust2-logocust3-logocust4-logoand others

Backed by

yc-logonexus-logo

World-class developer experience & tooling

SDKs and components in the most popular backend languages and frontend frameworks.

1import "github.com/warrant-dev/warrant-go"
2
3client := warrant.NewClient(warrant.ClientConfig{
4 ApiKey: "<your_api_key>",
5})
6
7isAuthorized, err := client.IsAuthorized(warrant.Warrant{
8 ObjectType: "store",
9 ObjectId: "91",
10 Relation: "edit",
11 Subject: warrant.Subject{
12 ObjectType: "server",
13 ObjectId: "56",
14 },
15})
16
17if isAuthorized {
18 // Carry out authorized logic
19}
20

Got questions? Join us on Slack!

slackJoin Slack