Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Empty Telemetry Attributes in OAuth2Client

オープン
#208 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
java

調査の方向性

src/main/java/dev/openfga/sdk/api/auth/OAuth2Client.java の参照された行から始めてください。そこではテレメトリ属性のマップがハードコードされた空の状態になっています。認証情報のリクエスト中に、設定済みで適用可能な属性がどのように利用可能になるかを追跡し、その属性が破棄されずに記録されることを確認してください。プロジェクトに既存のテストで動作を確認してください。

索引モデルが issue の本文から書いたものです。

説明

bug
Checklist
  • I have looked into the README and have not found a suitable solution or answer.
  • I have looked into the documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have upgraded to the latest version of OpenFGA and the issue still persists.
  • I have searched the Slack community and have not found a suitable solution or answer.
  • I agree to the terms within the OpenFGA Code of Conduct.
Description

The OAuth2Client sends a hard-coded empty attributes map when recording telemetry

Expectation

Configured and applicable attributes should be recorded when making credentials requests

Reproduction

Observe that attributes is hard-coded to an empty map: https://github.com/openfga/java-sdk/blob/main/src/main/java/dev/openfga/sdk/api/auth/OAuth2Client.java#L71

OpenFGA SDK version

any

OpenFGA version

any

SDK Configuration

any

Logs

No response

References

Discovered while investigating #201

主要言語
Java
スター
55
フォーク
26
平均マージ
1日 22時間
マージ済み PR(30日)
5

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

openfga/java-sdk のほかの issue

openfga/java-sdk の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。