Using Discord as IdP + import groups
Hello there,
I was playing with Discord and a Zitadel local instance, and I was wondering how to create a system of roles based on Discord groups membership.
For now I successfully linked Zitadel within a Discord app using OAuth connection. However, I'm a little bit stuck for next steps of my PoC.
My aim is to administrate several applications (ArgoCD, Kubernetes access through OIDC, etc.) having Discord as manager GUI. I imagine having users integrated by joining the server, and granting them authorizations by simply adding them to Discord groups.
For now I don't really know how to perform it. I'm thinking about an auto refresh of Discord memberships for a specific server, that create roles if not existing in Zitadel, then assigning them to the user. With
Right now I'm requesting email, identity and guilds.members.read scopes, that looks to be sufficient, I guess...
Does anyone already go in this direction for adding Discord as IdP for Zitadel ?
I was playing with Discord and a Zitadel local instance, and I was wondering how to create a system of roles based on Discord groups membership.
For now I successfully linked Zitadel within a Discord app using OAuth connection. However, I'm a little bit stuck for next steps of my PoC.
My aim is to administrate several applications (ArgoCD, Kubernetes access through OIDC, etc.) having Discord as manager GUI. I imagine having users integrated by joining the server, and granting them authorizations by simply adding them to Discord groups.
For now I don't really know how to perform it. I'm thinking about an auto refresh of Discord memberships for a specific server, that create roles if not existing in Zitadel, then assigning them to the user. With
Automatic update on within my Discord OAuth provider, I assume it also can track groups membership and add/remove as necessary.Right now I'm requesting email, identity and guilds.members.read scopes, that looks to be sufficient, I guess...
Does anyone already go in this direction for adding Discord as IdP for Zitadel ?