linuxserver / reverse-proxy-confs

These confs are pulled into our SWAG image: https://github.com/linuxserver/docker-swag
GNU General Public License v3.0
1.35k stars 300 forks source link

Disable external authorization for Influxdb API endpoint #642

Closed unkn0wnAPI closed 4 months ago

unkn0wnAPI commented 9 months ago

linuxserver.io



Description

In its current state in order to access the API endpoint, both internal (built-in to the influxdb API) and external (LDAP, authelia or authentik) authorization is required. The latter authentication method is unnecessary, due to the current API requirement (i.e. to access the endpoint, a user is required to authorize with either token, querystring or basic authentication method).

Benefits of this PR and context

This PR would disable external authorization for the API endpoint, thus making it easier to access the API endpoint in scripts (i.e. only requiring to authenticate with influxdb when making a request to the API).

How Has This Been Tested?

This configuration has been tested by me, after incorporating it into my production environment. (Tested on InfluxDB version 2.7-alpine). Steps used to test the configuration:

Source / References

InfluxDB API Documentation

LinuxServer-CI commented 8 months ago

This pull request has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

unkn0wnAPI commented 8 months ago

Updated my influxdb instance to InfluxDB v2.7.5 (Server: 09a9607, Frontend: 9d25a2f), this fix still works as expected.

LinuxServer-CI commented 6 months ago

This pull request has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.