AD FS¶
Many sites with Active Directory already run AD FS, which speaks OIDC. Prefer it over LDAP logins: the CA never sees a password.
Note
Check Microsoft's AD FS documentation for the current steps on your version.
Register the application¶
- AD FS Management → Application Groups → Add Application Group → Server application (a confidential client).
- Redirect URI:
https://ca.example.com:8443/v1/oidc/callback. - Note the client identifier; generate a shared secret and store it
in
/etc/bastionxp-ca/oidc-client-secret. - Allow the
openid,profileandemailscopes.
Groups¶
Add an issuance transform rule that sends the person's groups as a claim
named groups, e.g. Send LDAP Attributes as Claims, with
Token-Groups - Unqualified Names mapped to the outgoing claim type
groups.