bookstack-saml.yaml 547 B

1234567891011121314151617181920
  1. # Make SASL login work on bookstack with Anubis
  2. # https://www.bookstackapp.com/docs/admin/saml2-auth/
  3. - name: allow-bookstack-sasl-login-routes
  4. action: ALLOW
  5. expression:
  6. all:
  7. - 'method == "POST"'
  8. - path.startsWith("/saml2/acs")
  9. - name: allow-bookstack-sasl-metadata-routes
  10. action: ALLOW
  11. expression:
  12. all:
  13. - 'method == "GET"'
  14. - path.startsWith("/saml2/metadata")
  15. - name: allow-bookstack-sasl-logout-routes
  16. action: ALLOW
  17. expression:
  18. all:
  19. - 'method == "GET"'
  20. - path.startsWith("/saml2/sls")