Skip to main content

user_did_document

Function user_did_document 

Source
pub async fn user_did_document(
    __arg0: State<Arc<OAuthState>>,
    __arg1: Path<String>,
) -> Response
Expand description

GET /users/:username/did.json — frozen path-form account DID endpoint.

This route previously synthesized did:web:{authority}:users:{username}. That shape is outside the atproto did:web profile, so serving it would mint another permanent invalid account identifier. Keep the route as an explicit hard error until the separately designed host-form mint path lands (#1163).