mui / mui-toolpad

Toolpad: Full stack components and low-code builder for dashboards and internal apps.
https://mui.com/toolpad/
MIT License
951 stars 238 forks source link

Support Keycloak as an authentication provider in Toolpad #3231

Open prakhargupta1 opened 6 months ago

prakhargupta1 commented 6 months ago

Summary

Yesterday, a user mentioned using Keycloak as their identity and access management. They use username and password flow but Keycloak supports social logins as well.

Keycloak has a JS adaptor to enable authentication and set up a client. We need to create a custom way to integrate with these providers and enable role-access mapping.

Examples

No response

Motivation

No response

Search keywords: keycloak

Janpot commented 6 months ago

Keycloak has a JS adaptor to enable authentication and set up a client. We need to create a custom way to integrate with these providers and enable role-access mapping.

We use auth.js and there already is a keycloak adaptor. I believe we just have to integrate that adapter in Toolpad, that's why we chose auth.js.

consolidatedbilling commented 6 months ago

When might this be available so we can start working with Toolpad ? Thanks!

prakhargupta1 commented 5 months ago

@consolidatedbilling We should be able to provide it by the end of this month. Assuming you'd use it for roles and permission management, I just wanted to let you know that it will be a paid feature eventually. Refer: RBAC to learn more.