BookStack
BookStack copied to clipboard
Added OIDC group sync functionality
Is generally aligned with out SAML2 group sync functionality, but for OIDC based upon feedback in #3004. Needed the tangential addition of being able to define custom scopes on the initial auth request as some systems use this to provide additional id token claims such as groups.
Includes tests to cover. Tested live using Okta.
Docs Updates
- Need to document group syncing completely.
- Need to document the use of
OIDC_ADDITIONAL_SCOPES, and it's format (comma separated string). - Need to document behaviour of default registration role (Used when
remove_from_groupsoption is active). Same as OIDC/LDAP behaviour.