Skip to content

Guidance on how to respond to unknown trust mark on status endpoint #249

@MichaelFraser1999

Description

@MichaelFraser1999

The trust mark status endpoint states that

The query MUST be sent to the Trust Mark Issuer.

And further down, we have

An error response is as defined in [Section 8.9](https://openid.net/specs/openid-federation-1_0.html#error_response)..

It isn't overly clear which error response a server is expected to return in the event they receive a request for the status of a trust mark it did not issue or is not aware of. I can see implementations currently picking one of invalid_request or not_found (though not_found does explicitly scope itself to an unknown Entity Identifier right now so perhaps not this one).

I'd like to know others thoughts on this but I would suggest we define a dedicated invalid_trust_mark error code for this use case and add guidance text to use it in the trust mark status response.

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