> For the complete documentation index, see [llms.txt](https://doc.duaer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/user-management/saml/setup.md).

# Provision roles for Duaer SAML

After SAML sign-in works, map groups in the assertion to Duaer roles.
## Sign-in and role provisioning

SAML sign-in needs the identity provider metadata, Duaer’s ACS URL, and the certificate that checks the assertion. Until those work, people cannot enter.

Roles come from a group attribute in the assertion. In provisioning, match that group to an instance or project role. The role dropdown and confirm dialog in Settings link here. If the attribute name does not match the provider, sign-in still succeeds and the role does not change.
## Questions

### Is SAML role provisioning the same step as sign-in in Duaer?

No. Configure metadata, ACS, and certificate for sign-in first, then map groups in the assertion to roles. The role dropdown note in Settings opens this page.

