grafana / grafana/pyroscope-java

Deprecate authToken

Abierto
#161 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Java
Estrellas
126
Forks
48
Merge medio
4 d 14 h
PR fusionados (30 d)
5

Descripción

## Problem
When using the `authToken` for Grafana Cloud, users encounter a confusing error message:

```
[ERROR] upload profile: failed to upload. server responded with statusCode: '401' and body: '{"status":"error","error":"authentication error: legacy auth cannot be upgraded because the host is not found"}'
```

## Solution
We should deprecate the use of `authToken` for authentication in Grafana Cloud.

Warn users if `authToken` is specified and the URL is not pointing to the OG Pyroscope Cloud.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Locate the Java integration's authToken configuration and authentication validation, then trace how the service URL is handled. Add a warning when authToken is used with a URL other than the OG Pyroscope Cloud, and confirm the warning addresses the confusing Grafana Cloud authentication case described in the issue.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
java
Área
authentication, cloud
Tipo de issue
Nueva funcionalidad
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.