SUSE / telemetry

Telemetry scaffolding
Apache License 2.0
0 stars 0 forks source link

API: Add support for /authenticate request #3

Closed rtamalin closed 4 months ago

rtamalin commented 5 months ago

The headers of the /authenticate request must include the following items:

The payload of the /authenticate request contains the following items:

rtamalin commented 4 months ago

This underlying work for this was completed as part of #38.

The authentication approach was simplified to just requesting an updated client credentials set that includes a freshly generated auth token. The authenticate request requires a payload containing the client's id, and hash digest of it's instance id. These will be used by the server to validate that the client is registered with the server, and that the provided hash digest matches that of the client instance it provided when the client registered.