Skip to content
Discussion options

You must be logged in to vote

If you have a token available in the Triplit CLI you can run triplit roles eval <token> to see what roles Triplit will apply to the token (https://www.triplit.dev/docs/cli/roles#triplit-roles-eval). By default this will evaluate against the server you're pointed to. If you want to check against your local schema definition run triplit roles eval <token> --location=local.

As well you can log the token on the client at client.token and the parsed token claims at client.vars.$token

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wernst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants