SUSE / telemetry

Telemetry scaffolding
Apache License 2.0
0 stars 0 forks source link

API Request: Finalize client side registration and report authentication #34

Closed rtamalin closed 4 months ago

rtamalin commented 4 months ago

The /register REST API request obtains an auth token which needs to be included in the /report REST API request's headers as an Authorization header using the Bearer schema.

Additionally if a /report REST API request fails with a HTTP 401 Unauthorized this should:

Add support the /authenticate REST API request.

This work will be interdependent with that of the SUSE/telemetry-server#35 issue.

rtamalin commented 4 months ago

38 and SUSE/telemetry-server#39 complete this work.

Telemetry report submissions must include:

The server will reject the request with HTTP 401 Unauthorized if the supplied auth token is not valid, or the client is not registered with the server, or the auth token doesn't match what the server has recorded for the client.