CenterForDigitalHumanities / CenterForDigitalHumanities/rerum_server_nodejs
Auth tests for end to end token generation
- 主要言語
- JavaScript
- スター
- 3
- フォーク
- 6
- 平均マージ
- 2日 47分
- マージ済み PR(30日)
- 4
説明
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.
コントリビューションガイド
調査の方向性
ファイルも既存のテストエントリーポイントも指定されていません。まずトークン生成のエンドツーエンドテストとAuth0統合を見つけ、次に現在どのトークンクレームがチェックされているかを確認してください。テストが欠落した、誤った場所にある、または意味をなさないagent claimを検出し、重要な場合には列挙されたキーを検証できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- authentication, backend, testing-qa
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100