Skip to content

jonjia/auth-poc

Repository files navigation

auth-poc

Prerequisites

Getting Started

Start SpiceDB

spicedb serve --grpc-preshared-key "freshbeef"

Start app

rye run flask --app auth_poc run

Running the tests

Prepare test data

zed context set auth localhost:50051 freshbeef --insecure
zed schema write auth.zed
zed relationship create content:1234 writer user:jon
zed relationship create content:1234 reader user:alice
zed relationship create content:1234 writer user:alice

Run tests

  • use test.http

About

The PoC of Zanzibar&SpiceDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages