CenterForDigitalHumanities / CenterForDigitalHumanities/rerum_server_nodejs
Auto Refresh Bot Tokens
- Lenguaje dominante
- JavaScript
- Estrellas
- 3
- Forks
- 6
- Merge medio
- 2 d 47 min
- PR fusionados (30 d)
- 4
Descripción
It used to be that it never mattered whether or not the bot tokens expired. As the RERUM API code has shifted and evolved, this affordance has dissolved. As such, every increment (3 mos? 6mos? 12mos?) the bot token expires. This causes the CI/CD and tests to experience 401s which stop deploys from occurring on dev and prod.
Just like with all other applications, the RERUM API bots should be able to refresh themselves automatically when this occurs. We also have the option to bring back perma-tokens for bots.
Guía de contribución
Línea de trabajo
La issue menciona la autenticación mediante bot-token en la RERUM API y reporta fallos 401 en CI/CD y en las pruebas de dev y prod. Empieza rastreando dónde se emiten y consumen los bot tokens y, después, reproduce un 401 relacionado con la expiración en el flujo de pruebas o despliegue afectado. Se considera terminado cuando los bots se recuperen tras la expiración, o cuando se implemente el enfoque de token permanente elegido, sin bloquear esos flujos.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript
- Área
- authentication, backend-api-design, ci-cd
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 35/100