Skip to content

Empty Telemetry Attributes in OAuth2Client #208

@jimmyjames

Description

@jimmyjames

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions