To anyone trying to figure out how to authenticate the Admin page of Vaultwarden with Authentik but leave the Vault accessible publicly:
I have figured out which attributes to pass through the unauthenticated paths section for Vaultwarden.
To be clear, I have this setup as a Proxy Provider, not Forward Auth. I am also running Vaultwarden in Docker using the Vaultwarden/server image.
Your unauthenticated paths may differ if using the Official Bitwarden Server or a different version of Vaultwarden.
In the Vaultwarden Provider, input the following to allow public access to Vaultwarden Web but force authentication for Admin page.
^/#/.*$
^/#/login$
^/#/2fa$
^/api/.*$
^/images/.*$
^/identity/.*$
^/connectors/.*$
^/app/.*$
^/locales/.*$
^/notifications/.*$
^/icons/.*$
^/encrypt-worker.*.js
^/webauthn-connector.html
^/*.html
^/*.*.js
^/*.js
^/*.png$
^/*.jpg$
^/*.avif$
^/*.woff$
This has been updated to reflect my latest changes and finds.