Commit graph

2 commits

Author SHA1 Message Date
advplyr
73a61872fa Forward Auth refactor and adding PROXY_FORWARD_AUTH_LOGOUT_URI env 2022-12-18 11:37:45 -06:00
pgodwin
b8d0395e6d Add support for forward proxy auth. Tested with authentik.
- adds new method (`getUserFromProxyAuth) to server/Auth.js to check for
  relevant environment variables and pull the user from the request headers..
 - adds `/forwardauth` route to call new proxy auth method
 - modified /client/login.vue to call `/forwardauth` and authenticate
  the user if returned by forwardauth
 - add a helper method in `server/utils/parseBool.js` to help check for
  boolean values from environment
 - update the readme.md to explain how enable forward auth.
2022-11-02 22:03:06 +10:00