CenterForDigitalHumanities / CenterForDigitalHumanities/rerum_server_nodejs
Auto Refresh Bot Tokens
- Lingua principale
- JavaScript
- Stelle
- 3
- Fork
- 6
- Merge medio
- 1h 25m
- PR unite (30g)
- 3
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
L’issue indica l’autenticazione tramite bot-token nella RERUM API e segnala errori 401 in CI/CD e nei test su dev e prod. Inizia tracciando dove vengono emessi e utilizzati i bot token, quindi riproduci un 401 correlato alla scadenza nel flusso di test o di deployment interessato. Il lavoro è completato quando i bot recuperano dopo la scadenza, oppure quando viene implementato l’approccio scelto con token permanente, senza bloccare questi flussi.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript
- Ambito
- authentication, backend-api-design, ci-cd
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100