Checklist
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
Checklist
Description
The
OAuth2Clientsends a hard-coded empty attributes map when recording telemetryExpectation
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