hyper-auth-proxy 
A proxy to do http basic auth from a JWT token and redis session credentials
Little auth proxy based on hyper-reverse-proxy that can be used to add Basic auth header for a backend service without having to send credentials base64 encoded on the web.
It will use JWK token key sid
field to seek for the credentials in a Redis instance.
The credentials are stored in json :
They can be used "as is" or the credentials can be encoded (for example with AES).
Without encoded credentials, the proxy will make a request with Authorization
header :
The main should contain a tokio main section and call the run_service function.
Example :
use ;
async
The proxy configuration contains the following parameters :
use SocketAddr;