Hacker News new | past | comments | ask | show | jobs | submit login
Exploring Fine-Grained Authorization with Zitadel and Python (hackernoon.com)
6 points by langur on Nov 13, 2023 | hide | past | favorite | 2 comments



What are some best practices for integration with third-party tools like warrant.dev or cerbos.dev as mentioned in the article?


In integrating ZITADEL with Warrant.dev or other tool, you would first rely on ZITADEL for user authentication, which provides an access token(typically a JWT as demonstrated in the article—or you can also fetch the ID token). Your application's backend should validate this token to confirm user identity, either via JWKS or a separate introspection call. Following this, for any user action requiring permission checks, you'd make API calls to Warrant.dev, using the roles or permissions from the token to determine access rights. This is useful for highly granular permission management. If you're looking for Attribute-based Access Control (ABAC), ZITADEL's actions, custom metadata, and custom claims can be used as explained in the post.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: