frappe / frappe

Low code web framework for real world applications, in Python and Javascript
https://frappeframework.com
MIT License
6.95k stars 3.31k forks source link

Social Login Office 365 Group & Role Mappings #14921

Open Alberto826 opened 2 years ago

Alberto826 commented 2 years ago

Is your feature request related to a problem? Please describe. Frappe/ERPNext allows for default role at signup, however it becomes quite cumbersome to manage the roles and permissions where one prefers to use an external authentication provider such as Microsoft Office 365 as a central authentication provider for all applications (where Frappe/ERPNext is one of them).

Describe the solution you'd like Include a feature for the Social Login Office 365 which allows the roles and groups defined in the Microsoft OpenID payload claims to be mapped to the roles in ERPNext. The solution should be similar to LDAP group mappings (see image below or https://docs.erpnext.com/docs/v12/user/manual/en/erpnext_integration/ldap-integration).

Additional context ldap_group_mappingseff728

hurtonypeter commented 8 months ago

Any ETA on this one? Or maybe a workaround?