A better Rust ATProto crate

adjusted loopback limits

Orual 13053048 01aac77e

Changed files
+5 -5
crates
jacquard-oauth
+5 -5
crates/jacquard-oauth/src/atproto.rs
··· 191 191 keyset: &Option<Keyset>, 192 192 ) -> Result<OAuthClientMetadata<'m>> { 193 193 // For non-loopback clients, require a keyset/JWKs. 194 - let is_loopback = 195 - metadata.client_id.scheme() == "http" && metadata.client_id.host_str() == Some("localhost"); 196 - if !is_loopback && keyset.is_none() { 197 - return Err(Error::EmptyJwks); 198 - } 194 + // let is_loopback = 195 + // metadata.client_id.scheme() == "http" && metadata.client_id.host_str() == Some("localhost"); 196 + // if !is_loopback && keyset.is_none() { 197 + // return Err(Error::EmptyJwks); 198 + // } 199 199 if metadata.redirect_uris.is_empty() { 200 200 return Err(Error::EmptyRedirectUris); 201 201 }