p2-inc / keycloak-orgs

Single realm, multi-tenancy for SaaS apps
Other
360 stars 64 forks source link

Organizations configuration #248

Open xgp opened 1 week ago

xgp commented 1 week ago

Allow global configuration of organizations features. Currently needed are:

Path /realms/{realm}/orgs/config

Body (also the default values):

{
  "createAdminUserEnabled": true,
  "sharedIdpsEnabled": false
}

Methods:


We need to update the organizationCreation method in OrganizationResourceProviderFactory to check createAdminUserEnabled before creating the default organization admin user.

xgp commented 1 week ago

Will need a UI? Perhaps a modal off the action menu in orgs list page.

xgp commented 1 week ago

@rtufisi This is part of the "shared IdP" organizations work for this week.