You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see the 'Login with Microsoft' on the login page.
After logging in with MS account, I get back to BookStack and see this error:
An Error Occurred
An unknown error occurred
I don't see any other errors in the logs. Keys, Permissions and Callback settings are all correct from what I can tell.
The env variables are passed in directly to my docker-compose. The docs mentions putting it in .env - maybe this is why?
How can I bind my .env file? Not sure what the container path is...
My instance of BookStackApp is accessible via reverse proxy. Here is the relevant part in my Caddyfile:
The env variables are passed in directly to my docker-compose. The docs mentions putting it in .env - maybe this is why?
Either would work. Docker-compose env options will override any .env file options.
It might be breaking due to special characters being handled via specific means in the compose file, but that's just a guess.
How can I bind my .env file? Not sure what the container path is...
You should already find it at www/.env your mounted /config volume path.
If all users are expected to login via Azure, then OIDC/SAML2 auth options will generally provide a much better user experience and easier management, albeit with a potentially more involved setup process.
Describe the Bug
I followed these steps: https://www.bookstackapp.com/docs/admin/third-party-auth/#azuread-microsoft
I see the 'Login with Microsoft' on the login page.
After logging in with MS account, I get back to BookStack and see this error:
I don't see any other errors in the logs. Keys, Permissions and Callback settings are all correct from what I can tell.
The env variables are passed in directly to my docker-compose. The docs mentions putting it in .env - maybe this is why?
How can I bind my .env file? Not sure what the container path is...
My instance of BookStackApp is accessible via reverse proxy. Here is the relevant part in my Caddyfile:
Steps to Reproduce
Expected Behaviour
Allow OAuth login via MS / Azure
Screenshots or Additional Context
Browser Details
No response
Exact BookStack Version
v24.12.1-ls192
The text was updated successfully, but these errors were encountered: