r/BookStack • • Apr 21 '26

Configuring Bookstack with Microsoft Entra

I'm working on configuring Bookstack for SSO with Entra ID. The instructions provided have been helpful but running into a slight snag.

I'm using the SAML2_DUMP_USER_DETAILS=true flag to view the SAML output and the values from attrs_from_idp look correct from Entra but the values under attrs_after_parsing are all the same. It is just the email address of the user.

It seems like no matter what I change for the fields SAML2_EMAIL_ATTRIBUTE, SAML2_EXTERNAL_ID_ATTRIBUTE, or SAML2_DISPLAY_NAME_ATTRIBUTES the output for attrs_after_parsing remain the same.

I have SAML2_AUTOLOAD_METADATA configured to true in my .env file.

2 Upvotes

6 comments sorted by

View all comments

Show parent comment

2

u/ssddanbrown Apr 22 '26

Happy I could help.

It's quite silly, and has tripped up a good few people when setting up SAML. Probably something I should add to our docs.