Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 804 Bytes

README.md

File metadata and controls

38 lines (26 loc) · 804 Bytes

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