Hi All, We are planning to use Good Data as embedd...
# gd-beginners
b
Hi All, We are planning to use Good Data as embedded analytics in my webapp. I want the users/admin to manage the roles and permissions in my app and have them reflect in Good Data. My app has 15-20 odd roles. Any ideas on how to do this?
y
Hi Bidyut, Thanks for sending this in. Happy to help. GoodData uses OAuth 2.0 and OpenID Connect (OIDC) to handle authentication. It allows users to log in using their existing credentials from a variety of identity providers (IdPs), such as Okta or Auth0. GoodData integrates with the IdP to securely manage user authentication. By integrating your identity provider with GoodData via OIDC, you can pass user attributes (like role or department) directly at login. GoodData can then apply roles and filters dynamically, so your app remains the single source of truth for identity and authorization. Please refer to our documentation here for more information. Let us know if this helps.
b
But the roles in Good Data are fixed and how will that change with this?
y
Hi Bidyut, At this time, there is no way for us to control or synchronize the roles defined within your application. The roles in your app and the roles in GoodData remain separate. What we can do on our side is assign users to groups in GoodData and apply the appropriate GoodData roles within the platform. However, these cannot be linked to, or overridden by, the roles you manage in your application. This means that a user would first log in to your application with their assigned role there, and once authenticated, their GoodData role (as configured in our platform) would then be applied. Let me know if this helps