To have roles in Sophie determined by roles, or attributes of your users in your identity-provider, navigate to the "Identity Providers" page in the webapp, choose your Identity Provider, then the "Mappers" tab.
Click "Create" to create a new Mapper:
There are several Mappers available:
- Hardcoded User Session Attribute
- Hardcoded Attribute
- Hardcoded Role
- Attribute Importer
- Claim to Role
- Username Template Importer
To configure role-mapping, use either the "Hardcoded Role" or the "Claim to Role" Mapper types. Complete the configuration guide and click "save".
Note: these changes will only apply to newly added users