You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be an issue with authentication when the MinIO Console attempts to access Prometheus. The MinIO documentation here recommends the creation of a basic token, referencing the Prometheus documentation here. However, upon inspecting the code here, it appears that the MinIO Console utilizes the method { "Authorization" : "Bearer <token>"}.
Problem Statement
The discrepancy arises as the MinIO Console documentation recommends a Basic token, while the code implementation suggests the use of a Bearer token. This inconsistency prompts the following questions:
Should the MinIO Console code be updated to utilize { "Authorization" : "Basic <token>"} to align with the recommended method in the documentation?
Alternatively, should users configure their Prometheus instance for JWT authentication to accommodate the existing MinIO Console authentication method?
Steps to Reproduce
Set up a MinIO instance with the MinIO Console.
Configure the MinIO instance to access Prometheus using the provided environment variable MINIO_PROMETHEUS_AUTH_TOKEN.
Observe the attempt to access Prometheus using the specified authentication method.
Expected Behavior
The MinIO Console should be able to access Prometheus using the appropriate authentication method as per the documentation.
Actual Behavior
Authentication issues arise due to discrepancies between the recommended authentication method in the MinIO Console documentation and the implemented method in the codebase. Message "Prometheus URL is unreachable" o console.
Proposed Solution
Please advise on the recommended approach to resolve this authentication issue, whether it involves modifying the MinIO Console's codebase to utilize Basic authentication or configuring Prometheus for JWT authentication.
Thank you for your attention to this matter.
Best regards,
The text was updated successfully, but these errors were encountered:
Thank you for your response and clarification. I understand the current priorities. I'll be happy to contribute by working on a PR. I'll keep you updated on the progress and would appreciate any assistance with testing once the PR is ready.
Description
There seems to be an issue with authentication when the MinIO Console attempts to access Prometheus. The MinIO documentation here recommends the creation of a basic token, referencing the Prometheus documentation here. However, upon inspecting the code here, it appears that the MinIO Console utilizes the method
{ "Authorization" : "Bearer <token>"}
.Problem Statement
The discrepancy arises as the MinIO Console documentation recommends a Basic token, while the code implementation suggests the use of a Bearer token. This inconsistency prompts the following questions:
{ "Authorization" : "Basic <token>"}
to align with the recommended method in the documentation?Steps to Reproduce
MINIO_PROMETHEUS_AUTH_TOKEN
.Expected Behavior
The MinIO Console should be able to access Prometheus using the appropriate authentication method as per the documentation.
Actual Behavior
Authentication issues arise due to discrepancies between the recommended authentication method in the MinIO Console documentation and the implemented method in the codebase. Message "Prometheus URL is unreachable" o console.
Proposed Solution
Please advise on the recommended approach to resolve this authentication issue, whether it involves modifying the MinIO Console's codebase to utilize Basic authentication or configuring Prometheus for JWT authentication.
Thank you for your attention to this matter.
Best regards,
The text was updated successfully, but these errors were encountered: