Skip to main content

validate_verification_uri

Function validate_verification_uri 

Source
pub fn validate_verification_uri(uri: &str) -> Result<(), MuseAuthError>
Expand description

Verification destinations must be plain HTTPS pages on a Meta-owned host (meta.com / *.meta.com, meta.ai / *.meta.ai). Rejects userinfo, explicit ports, fragments, and look-alike hosts. Path/query are left to the server (the device page shape is not part of the pinned contract).