Also thinking about going with Auth0 for authn, bu...
# community
s
Also thinking about going with Auth0 for authn, but not sure yet'
e
Cerbos does not provide AuthN, but works with whatever solution you have in place.
Have you had a chance to look at our GraphQL demo? https://github.com/cerbos/demo-graphql
There is a 5 minute video at the end of the readme.
s
I took a look at it. Will probably dig into more detail after i grok the main concepts. right now just going through the policy docs and applying them to my domains
e
Please let us know if you need help in modeling your domain/resources. We’d be more than happy to help you out using our playground (https://cerbos.dev/playground). It is very handy to test new policies.
s
yeah that's pretty awesome. I'm in there now.
I did have a question about some policy info...
e
Shoot!
s
for derived roles, im seeing checks that look something like
request.resource.attr.owner == request.principal.id
...
where are those entities defined? the IDP?
e
Yes, the parent role is the role that IDP knows about.
The derived role is the context enriched role. Based on the context, you can define and use new roles within Cerbos
I’d higly recommend you to watch the Python Demo video. It explains and demos the concept there.
s
is that the one at the end og the GQL readme?
e
https://github.com/cerbos/demo-python Video is at the bottom of the Readme.
s
perfect
s
thanks! im sure i'll have more questions in a bit 🙂
e
Out of curiosity, how did you hear about Cerbos?
s
I was looking for off-the-shelf permissions modeling and somehow landed here: https://alexolivier.me/posts/the-never-ending-product-requirements-of-user-authorization
🎉 1
e
Great! Alex is our product lead.
s
i was thinking of using Auth0 for authn and authz, but it looked a little messy. They are two totally separate concerns. What piqued my interest was policies-as-code.
our org needs to create a lot of ad-hoc and time-bound permissions, so this would work well with our workflow
e
Please let us know if we can help in any way at any point. If you need to speak to us, please feel free to book some time here:
We’d be more than happy to tell you more about Cerbos. (and it gives us the opportunity to learn more about your domain)
s
gonna do that!
e
Looking forward to it.