Does zitadel support the role mapping with discord ? (role sync)
❌Unsolved❓Question
Hi there !
I’m currently running Authentik as my IAM and I’m evaluating whether to migrate to ZITADEL for a production infrastructure.
One feature is absolutely critical for me, so I’d like to confirm what is possible with ZITADEL before going further:
Role mapping / synchronization from Discord → ZITADEL
My use case is the following:
Discord is the source of truth for user roles
When a user is granted or removed a role on Discord, this role should be automatically reflected in ZITADEL (e.g. org roles, project roles, grants, claims, etc.)
Ideally via:
an external IdP (Discord OAuth2)
role/claim mapping
or a webhook / automation / SCIM-like mechanism
Access restriction based on Discord roles
Additionally, I need to:
Restrict account creation and/or login in ZITADEL based on the presence of specific Discord roles
Prevent users without the required Discord role from authenticating or being provisioned
This is a hard requirement for my infrastructure, and it currently works in Authentik.
Could you clarify:
Whether this kind of Discord → ZITADEL role synchronization is supported natively
If not, what is the recommended or supported approach (custom IdP claims, actions, webhooks, external provisioning, etc.)
Whether login / user provisioning can be conditionally restricted based on external IdP claims (like Discord roles)
Thanks a lot for your help
I’m currently running Authentik as my IAM and I’m evaluating whether to migrate to ZITADEL for a production infrastructure.
One feature is absolutely critical for me, so I’d like to confirm what is possible with ZITADEL before going further:
Role mapping / synchronization from Discord → ZITADEL
My use case is the following:
Discord is the source of truth for user roles
When a user is granted or removed a role on Discord, this role should be automatically reflected in ZITADEL (e.g. org roles, project roles, grants, claims, etc.)
Ideally via:
an external IdP (Discord OAuth2)
role/claim mapping
or a webhook / automation / SCIM-like mechanism
Access restriction based on Discord roles
Additionally, I need to:
Restrict account creation and/or login in ZITADEL based on the presence of specific Discord roles
Prevent users without the required Discord role from authenticating or being provisioned
This is a hard requirement for my infrastructure, and it currently works in Authentik.
Could you clarify:
Whether this kind of Discord → ZITADEL role synchronization is supported natively
If not, what is the recommended or supported approach (custom IdP claims, actions, webhooks, external provisioning, etc.)
Whether login / user provisioning can be conditionally restricted based on external IdP claims (like Discord roles)
Thanks a lot for your help
