CenterForDigitalHumanities / CenterForDigitalHumanities/rerum_server_nodejs
Auth tests for end to end token generation
- Lingua principale
- JavaScript
- Stelle
- 3
- Fork
- 6
- Merge medio
- 2g 47m
- PR unite (30g)
- 4
Descrizione
Make sure the agent claim is present
Make sure the agent claim in the right one
Make sure the agent claim value makes sense
If important, validate these keys as well
```json
{
"iss": "https://cubap.auth0.com/",
"sub": "auth0|62447bf424dc10011341226b",
"aud": [
"http://rerum.io/api",
"https://cubap.auth0.com/userinfo"
],
"iat": 1648655359,
"exp": 1680212959,
"azp": "62Jsa9MxHuqhRbO20gTHs9KpKr7Ue7sl",
"scope": "openid email offline_access"
}
```
This way, if either of us change something on Auth0 and break it, it will be detected on the next test.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Non è indicato alcun file né alcun punto di ingresso di test esistente. Inizia individuando i test end-to-end per la generazione dei token e l'integrazione con Auth0, quindi verifica quali claims dei token vengono attualmente controllati. Il lavoro è completato quando i test rilevano un'agent claim mancante, posizionata in modo errato o priva di senso e, quando è importante, convalidano le chiavi elencate.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript
- Ambito
- authentication, backend, testing-qa
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100