Again, if your oauth proxy software cannot maintain a mapping between whatever uuid it gets from the authentication backend to real usernames and use those real usernames in an auth header, then you need to find a better proxy.
Or write a simple proxy yourself to do that. One that sits in between oauth2-proxy and calibre and rewrites the authentication header.
|