Skip to content

ABM errors: Backend/API work to flag more errors and return them on the DEP status API #47700

Description

@JordanMontgomery

Related user story

#43916

Task

Update the existing code that detects terms_expired(T_C_NOT_SIGNED) ABM errors to detect token_rejected and signature_invalid - both of which are errors seen when the token itself is revoked or a user generates a new token in ABM without uploading it to fleet. Either one should set the token_invalid bit on the ABM token and likewise clear it once Apple stops returning those errors.

Update the API to return token_rejected on ab_tokens/abm_tokens endpoints for frontend consumption/display of the error

Update the dep_assignment endpoint to return the specified dep_error attribute(null if no error) and error messages on the errors outlined in the figma

Condition of satisfaction

Backend updated to return token_invalid errors on the abm_tokens endpoints and to return the proper errors on the dep_assignment endpoint when there are errors

Metadata

Metadata

Assignees

Labels

#g-apple-at-workProduct group focused on Apple devices~sub-taskA technical sub-task that is part of a story. (Not QA'd. Not estimated.)

Type

No type

Projects

Status
🦤 Estimated
Status
🐥 Ready for review

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions