Skip to content

Fix device auth error handling #1286

@plotnick

Description

@plotnick

Most of the device authorization endpoints (external_api/device_auth.rs) should not return Result<_, HttpError>, since in the error case they will not be valid OAuth errors (they'll be dropshot::HttpErrorResponseBody).

Also investigate why (or indeed if) instrumentation doesn't work with Response<Body>.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions