Setting up Tinyauth Voidauth in Zoraxy - tobychui/zoraxy GitHub Wiki
Tinyauth / Voidauth and Zoraxy
Tinyauth is not officially supported by Zoraxy, but somehow our smart users have figure out a way to make it work.
Disclaimer
This wiki page is provided as is. Zoraxy do not officially support Tinyauth in anyway, and compatibility might break if the forward-auth owner decided to upgrade the implementation. Please use it with your own risk.
Setup
In zoraxy, for voidauth set forward auth url :
http://voidauth:3000/api/authz/forward-auth
and for tinyauth set forward auth url :
http://tinyauth:3000/api/auth/traefik
DO NOT USE the public facing URL here otherwise redirect uri will be set to the actual auth domain instead of service to access
then in zoraxy configure headers to copy like this :
Response-Headers : Remote-User, Remote-Groups, Remote-Name, Remote-Email
Response-Client-Headers : Set-Cookie,WWW-Authenticate
Request-Headers: Accept,X-Requested-With,Cookie,Authorization,Proxy-Authorization
Save and apply, then simply select Forward-Auth for all services you want to protect !