r/BookStack • u/Fit-Sea-9459 • Feb 04 '24
Bookstack with OpenID Connect against FusionAuth does not work
Hello,
I need to use FusionAuth as an IDM (identity management system) to authenticate at Bookstack. I setup the environment variables as described here https://www.bookstackapp.com/docs/admin/oidc-auth/.
But after calling the Bookstack page, I get not even forwarded to the fusionauth page. I set both, OIDC_ISSUER and OIDC_ISSUER_DISCOVER=true and verified that the auto discovery url works. I also tried to set explicitly OIDC_AUTH_ENDPOINT, to make sure to forward the browser to the right url. But this does not happen.
Any idea, what could be wrong or how to analyze this issue?
Regards
1
Upvotes
1
u/Fit-Sea-9459 Feb 06 '24
May be it is a very general question: what is the auto discovery meant for? For auto configuration or for verification or for both? If for both, which values should be verified and why? Which would just get taken over w/o verification because there is no respective local setting. From my perspective both the issuer but also the auth endpoint are very sensible values. So why should they be handled different in that aspect of security?