p2-inc / keycloak-orgs

Single realm, multi-tenancy for SaaS apps
Other
362 stars 65 forks source link

Organization roles with client scope #176

Closed thesardorbroo closed 4 months ago

thesardorbroo commented 4 months ago

Hi, we have organizations client scope, it maps all roles of all organizations into token(JWT). I have a question. Can I map all roles of 1 organization into token? with client scope (scope = {org_id}) or something else?

xgp commented 4 months ago

See the docs on setting an active organization https://github.com/p2-inc/keycloak-orgs/blob/main/docs/active-organization.md