Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add support for telemetry client (re-)authenticate request #38

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

rtamalin
Copy link
Collaborator

Define the over the wire representations for the /authenticate request and response data structures. The request sends the existing clientId and the SHA256 hash of the client's InstanceID, and gets back a similar response to the /register request.

Add an Authenticate() method to the TelemetryClient that leverages the new request to retrieve an update authentication bundle.

Add options to cmd/generator to allow control of whether registration or authentication is performed.

Fix cmd/generator and cmd/clientds debug override setup to work correctly.

Switch some slog messages from Info to Debug level.

Define the over the wire representations for the /authenticate request
and response data structures. The request sends the existing clientId
and the SHA256 hash of the client's InstanceID, and gets back a similar
response to the /register request.

Add an Authenticate() method to the TelemetryClient that leverages the
new request to retrieve an update authentication bundle.

Add options to cmd/generator to allow control of whether registration
or authentication is performed.

Fix cmd/generator and cmd/clientds debug override setup to work
correctly.

Switch some slog messages from Info to Debug level.
Copy link
Collaborator

@gbuenodevsuse gbuenodevsuse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants