Accessing the Web Service API through a proxy
One of our customers have an environment with the following configuration:
- Yellowfin is installed in Docker containers.
- The yellowfin environment is accessible through a Traefik Proxy.
- To access Yellowfin, you first have to login to the proxy. Then you can login into Yellowfin.
- For the end-users, Yellowfin sso is enabled.
This works fine for the end-users, they can login into the proxy and then use Yellowfin.
We now want to use the Web Service API to automise some processes. In order to access the API, we first have to login to the proxy, and then the proxy will forward the request to Yellowfin. The authentication of the proxy is possible by using the authentication header "Authorization", which works fine. But then we have to authenticate to Yellowfin, which also requires the "Authorization" header. It isn't possible to send 2 authorization headers in the request (one for the proxy and one vor Yellowfin), so we cannot use the API at this moment.
Are there other possibilities to authenticate to the API? Maybe by sending the authorization header with an other name, or using a cookie, or something else?