2025-06-13 19:42:24 +00:00
|
|
|
# running the demo
|
|
|
|
|
start the permit.io serice
|
|
|
|
|
`./demo.sh`
|
|
|
|
|
|
|
|
|
|
# run the go harness
|
|
|
|
|
`./run.main.sh`
|
|
|
|
|
|
|
|
|
|
# load the main page
|
|
|
|
|
load this page and select your actions to test permissions
|
|
|
|
|
http://localhost:4000/
|
|
|
|
|
|
|
|
|
|
# edit the permissions
|
|
|
|
|
go to the permissions editor and change rights then re-try on the harness
|
|
|
|
|
https://app.permit.io/policy-editor
|
|
|
|
|
|
|
|
|
|
# example jwt token
|
|
|
|
|
See the `jwt.json` file to see the contents of a typical bearer jwt token (decrypted)
|
2025-07-11 19:27:14 +00:00
|
|
|
to see how the subject (sub) id is identified.
|
|
|
|
|
|
|
|
|
|
This version uses the local OPAL. (which is a wrapper around OPA)
|