feat: add cerbos access control
This commit is contained in:
8
api/libraries/auth/cerbos.ts
Normal file
8
api/libraries/auth/cerbos.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { HTTP } from "@cerbos/http";
|
||||
|
||||
export const cerbos = new HTTP("http://localhost:3592", {
|
||||
adminCredentials: {
|
||||
username: "cerbos",
|
||||
password: "cerbosAdmin",
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user